Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
exdsq
· 4y ago · 0 comments
Just a note that TypeScripts type checking & compilation are two
separate
systems. It's
never
a compilation error because it
always
compiles.
Comments
[–]
danielearwicker
4y ago
In TS this is controllable. If noEmitOnError is true, then any error (including type errors) will stop it emitting JS output.