-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
VNode type definition causes error in TypeScript 4.8 #6554
Comments
I tried just changing the second type parameter of |
I found this problem too. |
same problem |
Add `"skipLibCheck": true` to temporarily fix a build problem, seeing: vuejs/core#6554. When newer Vue released, drop it.
- Update vue-tsc to 0.40.5 - Update @typescript-eslint/eslint-plugin and /parser to 5.36.1 - Enable skipLibCheck to work around vuejs/core#6554 Change-Id: Ib37a458c23dc1093c3c9804f4fe0a9c389523453
Vue version
3.2.37
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-w3uxlr?file=src/foo.ts
Steps to reproduce
VNode
type from VueWhat is expected?
Things should continue to work
What is actually happening?
TypeScript fails with the following error, due to an incorrect type definition in the
VNode
type:System Info
Any additional comments?
Setting
"skipLibCheck": true
intsconfig.json
works around this issue. But Vue should not ship erroneous type definitions.The text was updated successfully, but these errors were encountered: