TypeScript tsconfig and Tooling/List compilation files

Print files included in the program.

Section: Compiler Diagnostics and Debugging

List compilation files

bash
bash
npx tsc --listFiles
Explanation

Useful when a file is unexpectedly missing or included.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Compiler Diagnostics and Debugging
Extended diagnostics
Measure compiler performance details.
OpenIn sheetbashsame section
Show resolved config
Print the final config after `extends` resolution.
OpenIn sheetbashsame section
Clean build artifacts
Remove `.tsbuildinfo` and build outputs before recompiling.
OpenIn sheetbashsame section
Minimal tsconfig
A small strict config for many projects.
OpenIn sheetjson1 tag match
Composite project config
Enable settings required for project references.
OpenIn sheetjson1 tag match
Node-focused tsconfig
Example config for modern Node.js projects.
OpenIn sheetjson1 tag match