[v2.1.2] Type checking fails when compilerOptions.skipLibCheck
is false
#4766
Labels
bug
Something isn't working
compilerOptions.skipLibCheck
is false
#4766
Vue - Official extension or vue-tsc version
2.1.2
VSCode version
N/A
Vue version
3.4.38
TypeScript version
5.4.5
System Info
package.json dependencies
Steps to reproduce
yarn dlx create-vue@latest
)"compilerOptions.skipLibCheck": false
totsconfig.app.json
package.json
type-check
script (yarn type-check
)What is expected?
No errors and a success message, e.g
✨ Done in 1.14s.
.What is actually happening?
Type errors coming out of
node_modules/vue/dist/__globaltypes_3.4_false.d.ts
:Link to minimal reproduction
https://github.com/shengslogar/vuejs-language-tools-issue-4766
Any additional comments?
Since
vue-cli
configures projects toskipLibCheck: true
by default (vuejs/vue-cli#5688), this is not a show-stopping bug, but still an unexpected one that only appears after upgrading from v2.0.29 to v2.1.0 and persists in v2.1.2.The text was updated successfully, but these errors were encountered: