TypeScript tsconfig and Tooling/Clean build artifacts

Remove `.tsbuildinfo` and build outputs before recompiling.

Section: Compiler Diagnostics and Debugging

Clean build artifacts

bash
bash
rm -rf dist *.tsbuildinfo && npx tsc --build
Explanation

A clean rebuild can help when incremental caches get out of sync.

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
List compilation files
Print files included in the program.
OpenIn sheetbashsame section
Extended diagnostics
Measure compiler performance details.
OpenIn sheetbashsame section
Show resolved config
Print the final config after `extends` resolution.
OpenIn sheetbashsame section
Clean project reference outputs
Use build mode clean command.
OpenIn sheetbash2 tag match
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