skipLibCheck does not work in config file
#6029
Replies: 2 comments 1 reply
-
|
More detailed information is needed to investigate it. Please open an issue with a minimal reproduction. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Turns out this was a configuration error. I had converted an existing Vite installation to a monorepo and did not refactor the tsconfig.json accordingly. 🤦 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a monorepo setup where the type checking is finding issues from files that are linked in node_modules/. From my research it seems like using
skipLibCheckshould be the goto method to avoid this.However, when adding it to the config file it does not seem to be respected:
{ "extends": "@vue/tsconfig/tsconfig.dom.json", "compilerOptions": { "skipLibCheck": true, ... }, "include": ["**/src/**/*.ts", "**/src/**/*.tsx", "**/src/**/*.vue"], ... }Same thing happens when I use the flag for the executable.
I've also tried using
excludeto explicitly exclude the linked files innode_modules/, without any luck.What might be the cause of this?
Beta Was this translation helpful? Give feedback.
All reactions