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
@tarojs\components\types\common.d.ts文件中对触摸事件的类型声明不太准确
/** export interface ITouchEvent extends BaseEventOrig<any> { /** * 触摸事件,当前停留在屏幕中的触摸点信息的数组 */ touches: Array<ITouch>, /** * 触摸事件,当前变化的触摸点信息的数组 */ changedTouches: Array<CanvasTouch> } */ changedTouches 数据格式同 touches。 表示有变化的触摸点,如从无变有(touchstart),位置变化(touchmove),从有变无(touchend、touchcancel)。
微信小程序以及h5的时候两者应该是同一类型
无
Taro2.0
这里应该严谨一些,考虑其他小程序端的触摸事件都有哪些属性。
The text was updated successfully, but these errors were encountered:
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
Sorry, something went wrong.
没太懂你的意思,不过目前的类型同步自 微信官方,又更好的想法也欢迎 PR。
ZakaryCode
No branches or pull requests
问题描述
@tarojs\components\types\common.d.ts文件中对触摸事件的类型声明不太准确
复现步骤
期望行为
微信小程序以及h5的时候两者应该是同一类型
报错信息
无
系统信息
Taro2.0
补充信息
这里应该严谨一些,考虑其他小程序端的触摸事件都有哪些属性。
The text was updated successfully, but these errors were encountered: