TypeScript · Lesson 87 of 120
Tooling Quiz
Test yourself.
Let's review modules, tooling, and async. Pause after each question, and answer before I do.

- Tooling quiz
- Pause and think
- Then check
Question 1
Which setting turns on all the safety checks? Strict.
Quick check
All the safety checks:
Question 2
What type is a caught error in strict mode? Unknown.
Quick check
catch (e) gives e the type:
Question 3
What does z dot infer give you? A type from a Zod schema.
Quick check
z.infer<typeof Schema> is:
Question 4
What file describes JavaScript code with types only? A declaration file.
Quick check
Types only, no code:
Summary
Well done. Next, a new section on patterns, starting with satisfies.
Key takeaways- strict
- unknown
- z.infer
Next up: satisfies — check without widening