Typing the Boundaries: Data From Outside Your Program Quiz

Interactive Quiz ⋅ 12 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of Typing the Boundaries: Data From Outside Your Program.

By working through this quiz, you’ll revisit type assertions, type guards and assertion functions, generic and async types, data that arrives as unknown, and validating it with a Zod schema.

Most questions ask what npm run check 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!