Back
TypeScript Quiz
Pass with 7 / 10 to unlock your certificate.
1. What does the `unknown` type require before use?
2. Which utility type makes all properties optional?
3. What does a tuple type `[string, number]` represent?
4. What is structural typing?
5. Which operator narrows a union by checking a property?
6. What's the difference between `interface` and `type`?
7. What does `as const` do?
8. Which is a generic constraint?
9. What does `never` represent?
10. Which flag enables strict null checks?