-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
TS2322 after upgrade to 1.4 #2674
Comments
It seems a same issue with #2671, can you try remove |
only found "jsx": "preserve", in tsconfig |
and I already add types vite/client, but it not helps |
Can you provide repro case? |
Reproduction: https://github.com/jd-solanki/volar-vue-playground/blob/attrs-not-working/src/components/foo/Play.vue
I guess this is because of https://github.com/jd-solanki/volar-vue-playground/blob/attrs-not-working/tsconfig.json#L28 BTW, what does |
@jd-solanki This is the expected behavior of enabling strictTemplates, which will reject your input for an unknown prop. |
if use fallthrough attribute then got this error, it's ok in 1.2
NButton doese not define onClick and use bind="$attrs" to fall throuth, and it's ok in vue-tsc 1.2
The text was updated successfully, but these errors were encountered: