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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type-check reports errors twice #437
Comments
@sodatea @unshame I have an idea what the cause may be. The The solution could be changing the type check script in the package.json to: |
@sjihdazii yeah, but that defeats the purpose of having two configs. The .vitest.json config has additional globals defined which are only available in the .test files. |
Creating a project with typescript and vitest
making a mistake somewhere and then running
type-check
script reports the errors twice:This is due to the fact that "src" is included in both
tsconfig.app.json
andtsconfig.vitest.json
. This was introduced with #274Not sure how to fix this. It's nice to have a separate tsconfig for vitest, but not sure it's worth it if it double reports the errors because of it.
The text was updated successfully, but these errors were encountered: