Hacker News new | ask | show | jobs
by zachrose 668 days ago
I’ve worked on several TS projects that don’t type check but still “compile” (emit non-TS JavaScript). To me that’s the difference between a linter and a compiler, and I wish those projects had stopped compiling when they could no longer type check.
1 comments

Good news! There is a configuration option for that: https://www.typescriptlang.org/tsconfig/#noEmitOnError