TypeScript 中有 onShareAppMessage 预览会报错?
微信开发者工具 Nightly v1.02.1912272
代码
onShareAppMessage() {
return {
title: '自定义转发标题',
path: '/pages/index/index'
}
}
package
"dependencies": {
"miniprogram-api-typings": "^2.8.3-1",
"typescript": "^3.3.3333"
}
报错信息
导致无法预览
1 回复