- 1 current stop: learning
- 2 upcoming
- 3 upcoming
- 4 upcoming
- 5 upcoming
Finish after stop 5
Stop 1 of 5 · Workshop: scaffolding goes up
Trick to keep in mind+3 XP
Types are scaffolding: they come down before the building opens
tsc checks your types while you build, then emits plain JavaScript with the annotations removed. So types cost nothing when the program runs, but they also guard nothing at that point. Data arriving from a network call or a form is never verified against your declared shape.
Read it once, then a question tests whether the trick stuck.