- Notifications
You must be signed in to change notification settings - Fork479
tsconfig.vite.ts should include only the test files#151
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Otherwise node and jsdom types are available in ts and vue files. Whoops.
segevfiner commentedSep 1, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Oh wait. This will cause the default type-check command to only check the types of the test files. We will have to modify that as well. But I'm not sure how. As they don't support |
segevfiner commentedSep 4, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Argh. There is a bit of a problem here. Type checking with just using Opinions anyone?@sodatea@cexbrayat |
I tried swapping the order of |
Oh great. The resolution order is flipped between Volar and the builtin tsserver. Volar will prefer the first matching tsconfig, and tsserver the last! |
Otherwise node and jsdom types are available in ts and vue files. Whoops.