Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zachrose
· 2y ago · 0 comments
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.
Comments
[–]
scotttrinh
2y ago
Good news! There is a configuration option for that:
https://www.typescriptlang.org/tsconfig/#noEmitOnError