Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Only 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.


Did you reply to the wrong comment ? The --noEmit does not have the issue you talk about.


yes, sorry




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: