TypeScript · Emit

noEmitOnError

Disable emitting files if any type checking errors are reported.

Syntax
"noEmitOnError": true

Example

Example
{
  "compilerOptions": {
    "noEmitOnError": true
  }
}

More in this group

declaration declarationDir declarationMap downlevelIteration emitBOM emitDeclarationOnly importHelpers inlineSourceMap

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course