We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H5
浏览器版本: Chrome 108 使用框架: React
用 typescript 写 useLoad((options) => {}),类型报错
useLoad((options) => {})
useLoad / useDidShow 传入带 options 参数的回调函数,类型检查不报错
报错
Taro CLI 3.5.10 environment info: System: OS: Windows 10 Binaries: Node: 16.15.0 - C:\Users\toyobayashi\app\nodejs\node.EXE Yarn: 1.22.15 - C:\Users\toyobayashi\app\nodejs\yarn.CMD npm: 8.5.5 - C:\Users\toyobayashi\app\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered:
fix(types): 修复钩子缺少的入参 fix #12983
dbe92f9
1eb00f1
useDidShow 传入带 options 参数的回调函数,拿到的参数结果永远是空对象,这什么情况,但是在公共入口ts里的onShow钩子可以拿到参数,页面组件怎么获取onShow的参数?
Sorry, something went wrong.
+1
ZakaryCode
Successfully merging a pull request may close this issue.
相关平台
H5
浏览器版本: Chrome 108
使用框架: React
复现步骤
用 typescript 写
useLoad((options) => {})
,类型报错期望结果
useLoad / useDidShow 传入带 options 参数的回调函数,类型检查不报错
实际结果
报错
环境信息
The text was updated successfully, but these errors were encountered: