Your First TypeScript: Types for JavaScript You Write Quiz
Interactive Quiz ⋅ 10 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of Your First TypeScript: Types for JavaScript You Already Write.
By working through this quiz, you’ll revisit what the checker sees before your code
runs and what’s left when the types are erased, primitive type annotations, what any
gives up compared to unknown, tuples and object types, reading a type error from the
top, and the types the checker infers for you.
Every question is set in Spoke & Sprocket’s bike-repair shop, and every answer comes
from a real tsc check or a real Node.js run. Good luck!
The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!