Real projects use the TypeScript compiler (tsc) or bundlers (Vite, esbuild, webpack) that transpile TS on save or build.
Essential files
tsconfig.json— compiler options (strictness, target, module format).package.json— scripts like"build": "tsc".src/—.tssources; output oftendist/.
Editor
VS Code and Cursor use the TypeScript language service for red squiggles, quick fixes, and “Go to type definition.”
On this site
The lesson playground compiles with esbuild in the browser—no local install required to practice.
Practice: Apply setup-and-tooling in the playground, then explain setup and tooling in one sentence without looking at notes.