noEmit

The compiler option that makes tsc check types without writing any output files.

In more detail

It is the usual type-checking step in continuous integration, and the partner of a fast transpiler or bundler that produces the actual JavaScript. It exits with a non-zero status when there are type errors, so the pipeline fails.

Example

tsc --noEmit

Related terms

Taught in

References