vuetify: [Bug Report][3.0.3] doesn't allow onClick and $children when vueCompilerOptions.strictTemplates=true
Environment
Vuetify Version: 3.0.3 Vue Version: 3.2.45 Browsers: Chrome 107.0.0.0 OS: Linux
Steps to reproduce
- clone https://github.com/Maxim-Mazurok/vuetify-tsc-error-reproduction
npm civue-tsc --noEmit -p tsconfig.json --composite false- workstsc --noEmit -p tsconfig.json --composite false- doesn’t work
And I’m getting red squiggly lines in VS Code because of that
Expected Behavior
Works when vueCompilerOptions.strictTemplates in tsconfig.json is true.
Actual Behavior
Only works when vueCompilerOptions.strictTemplates in tsconfig.json is false (default).

Reproduction Link
https://github.com/Maxim-Mazurok/vuetify-tsc-error-reproduction
Other comments
Let me know if this should be reported to vue-tsc instead (Volar)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 20 (10 by maintainers)
Commits related to this issue
- chore: update vue to 3.3.7 closes #16190 — committed to wz930206/vuetify by KaelWD 8 months ago
Ah, you’re right. It seems like this is just making VS Code not show errors, but the type issue still persists.
I think vue would have to remove Prettify for that to be possible, unless they add
& PublicPropsthemselves instead of just using it as a default.Partly hotfix for me