-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Add types for vue h #1356
Comments
@xiaoxiangmoe is this still relevant? There have been significant changes been done to Thanks! |
this issue is still actionable. See example: import { h } from 'vue'
// @ts-expect-error Parameter 'event' implicitly has an 'any' type.ts(7006)
export default h('button',{ onClick: event => { console.log(event) } }) |
Thanks |
Now, I'm not using |
@znck Could you sharing us the reason why not using |
Template is converted to TSX so |
Add these codes in vue-next/packages/runtime-dom/types/jsx.d.ts
These codes will help us to do type checking with
@vuedx/typecheck
Another Question: What help does
@vuedx
need? It seems that its development has stoped for several weeks.The text was updated successfully, but these errors were encountered: