Reusable Types: Generics, Utility Types and Typed Modules Quiz
Interactive Quiz ⋅ 12 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of Reusable Types: Generics, Utility Types and Typed Modules.
By working through this quiz, you’ll revisit typed classes and private fields, erasable syntax, function types, type-only imports and import paths, generic functions and types, keyof and typeof, and utility types.
Most questions ask you to predict what the checker reports and what Node prints once the types are stripped, so keep the two times apart as you answer.
The quiz contains 12 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!