TypeScript · Compiler Diagnostics

diagnostics

Output compiler performance information after building.

Syntax
"diagnostics": true

Example

Example
{
  "compilerOptions": {
    "diagnostics": true
  }
}

More in this group

explainFiles extendedDiagnostics generateCpuProfile generateTrace listEmittedFiles listFiles noCheck traceResolution

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