You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
After adding type errors in project
tsc
not showing any errors when run (npx tsc -w) inreact-ts
template.Reproduction
https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts
Steps to reproduce
src/main.tsx
and addconst a: string = 2
somewherenpx tsc --noEmit
tsc will say there is no issue (when it should be complaining about the line we just added
System Info
Used Package Manager
npm
Logs
~/projects/vitejs-vite-whkhm3 2s
❯ npx tsc --noEmit
^ there is no output
Validations
The text was updated successfully, but these errors were encountered: