Caffeinated Coder
Book an appointment
Lesson 14 · Advanced and in practice

The compiler and tsconfig

Real projects run tsc with no file names, and tsc reads tsconfig.json to learn what to do. Follow one small project as "include" picks the files, "strict" turns a silent any into error TS7006, "outDir" sends the output to dist, and "target" decides whether the ?? operator survives or is rewritten into older JavaScript.

11 min8 steps5 questionsAdvanced
Fig 14 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.