Curriculum / TypeScript
TypeScript.
Best learned second, right after the moment a JavaScript bug wastes an hour of your life. Then types feel like a gift instead of homework.
- status
- Outlined, not written
- file
- lesson-01.ts
- first project
- Types for an API that lies
Why this one
You stop guessing what shape your data is in.
Most professional JavaScript is TypeScript now, so it’s not really optional if you want this for work.
Honest status
Planned. Depends on the JavaScript track landing first.
What it looks like
example.tsdraft snippet
1type Step = "read" | "type" | "build";23const steps: Step[] = ["read", "type", "build"];
The first eight lessons
outline · will change- 01The same code, one annotation at a time
- 02Primitive types and inference
- 03Objects and interfaces
- 04Unions — the useful bit
- 05Typing a function properly
- 06Arrays, generics, and not panicking
- 07Typing a messy API response
- 08When to reach for any, and when to admit defeat
Project at the end
Types for an API that lies
You’ll take a real, badly-shaped JSON response and describe it accurately enough that the editor starts catching your mistakes for you.
Want TypeScript sooner?
Join the waitlist and vote for it on the curriculum page. We do actually read the tally.