Skip to content
New issue

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

Vue3 jsx ts类型有问题 #13516

Closed
EdivenH opened this issue Mar 25, 2023 · 0 comments · Fixed by #14204
Closed

Vue3 jsx ts类型有问题 #13516

EdivenH opened this issue Mar 25, 2023 · 0 comments · Fixed by #14204
Labels
A-typings Area - TypeScript Typings 相关 F-vue3 Framework - Vue 3 V-3 Version - 3.x

Comments

@EdivenH
Copy link

EdivenH commented Mar 25, 2023

相关平台

微信小程序

小程序基础库: 2.30.2
使用框架: Vue 3

复现步骤

<scroll-view class={styles.container} style={props.style} scrollY lowerThreshold={props.lowerThreshold} refresherEnabled={props.isOpenRefresh} refresherTriggered={refreshTriggered.value} onRefresherRefresh={handleRefresh} onScrollToLower={handleToLower} onRefresherAbort={handleAbort} > {slots.default?.()} </scroll-view>

事件类型提示 是 onCamelCase 但实际是onCamelcase

期望结果

vue3 jsx ts类型正确

实际结果

vue3 jsx ts类型不正确

环境信息

Taro CLI 3.6.2 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.19 - C:\Users\eee\AppData\Roaming\npm\yarn.CMD
      npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-typings Area - TypeScript Typings 相关 F-vue3 Framework - Vue 3 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants