5 ms·
Just a note that TypeScripts type checking & compilation are two separate systems. It's never a compilation error because it always compiles.
by exdsq 5y ago
Just a note that TypeScripts type checking & compilation are two separate systems. It's never a compilation error because it always compiles.
- danielearwicker 5y agoIn TS this is controllable. If noEmitOnError is true, then any error (including type errors) will stop it emitting JS output.