4 ms·
Practically, it isn't an issue if you use VSCode which has the Typescript language server built in to catch type errors for you. If you want, your build script
by kitd 5y ago
Practically, it isn't an issue if you use VSCode which has the Typescript language server built in to catch type errors for you.
If you want, your build script can include
`tsc -noEmit`
to type check before the build.
- EugeneOZ 5y agoOnly if a project is pretty small. Change in one place, especially if it's a reusable code, might ruin code in multiple different places and IDE will not recompile the whole project on every change, it will only watch your currently opened files and, maybe, some files in opened folders.
- simlevesque 5y agoDid you reply to the wrong comment ? The --noEmit does not have the issue you talk about.
- EugeneOZ 5y agoyes, sorry