01🐣Foundations — Meeting TypeScript for the First Time
0/6 lessonsWhat TS is, what it isn't, your first compile
The first steps. Where you install TypeScript, run `tsc` for the first time, and watch a `.ts` file turn into a `.js` file in front of you. The two-layer mental model — compile-time types vs runtime values — that everything else in this quest depends on. `tsconfig.json`, strict mode (turned on, never turned off), where annotations go, and the moment you realize TypeScript already knows. By the end you'll have a tsconfig you can carry to any project and a clear picture of what TS actually is: not a 'safer JavaScript,' but a separate language that erases at the boundary.
Lesson list (6)
- 01Why TypeScript: 5 Years to Forget, 5 Minutes to Remember~12 min · foundations, why, history, trade-offs
- 02The Two-Layer Mind: Compile-Time Types, Runtime Values~13 min · foundations, mental-model, type-erasure, compile-vs-runtime
- 03Your First `tsc`: tsconfig.json, target, module~14 min · foundations, tsc, tsconfig, first-compile
- 04Turn `strict` On (and Never Off)~12 min · foundations, strict-mode, tsconfig, philosophy
- 05Type Annotations: Where They Go, Where They Don't~11 min · foundations, annotations, syntax, where-to-annotate
- 06Inference: When TypeScript Already Knows~12 min · foundations, inference, type-widening, type-narrowing