TypeScript · Compiler Diagnostics

listFiles

Print all of the files read during the compilation.

Syntax
"listFiles": true

Example

Example
{
  "compilerOptions": {
    "listFiles": true
  }
}

More in this group

diagnostics explainFiles extendedDiagnostics generateCpuProfile generateTrace listEmittedFiles 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