vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.82k stars 396 forks source link

1.8.24 shows new errors #3763

Closed rchl closed 3 months ago

rchl commented 10 months ago

Starting from 1.8.24, a new errors are shown like:

[vue-tsc] app/components/requests-chart.vue:3:10 - error TS2339: Property 'ClientOnly' does not exist on type '{}'.
[vue-tsc]
[vue-tsc] 3         <client-only>
[vue-tsc]            ~~~~~~~~~~~
[vue-tsc]

I don't have time to investigate now and can't share the project but I can look into creating a repro at some point later.

rchl commented 10 months ago

Actually it's likely due to:

fix(language-core): strictTemplates fails to report unknown components (https://github.com/vuejs/language-tools/issues/3539)

which is technically correct but feels like a breaking change since it was not working like that for ages...

davidmatter commented 3 months ago

Please check if this issue has been resolved in version 2.x. If not, feel free to create a new one.