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
Components with native DOM events type check error since upgrading to 1.0.0 #1948
Comments
I also met. |
俺也一样 |
+1 <van-nav-bar
:title="title"
:left-arrow="showBack"
left-text="返回"
style="--van-nav-bar-z-index: 99"
fixed
placeholder
@click-left="onBack"
@click-right="onExport"
/>
|
俺也一样 |
There will still be type errors after trying many methods, such as deleting node_modules and lock file, reinstalling depends, and upgrading vue-tsc. |
The same +1 |
tsconfig.json里面,设置了"types": ["miniprogram-api-typings"],直接导致typescript推导全部失效了 |
The same +1 |
The same +1 |
everythings is broken down |
My question is: |
There will still be type errors in code-insiders |
same issue |
Components with native DOM events(like input, change) volar(v1.0.0) type check error
Type '(value: string)=>void' cannot be assigned to type '(payload: Event)=>void'. The types of parameters' value 'and' payload 'are incompatible.
The text was updated successfully, but these errors were encountered: