Back

TypeScript Quiz

Pass with 7 / 10 to unlock your certificate.

  1. 1. What does the `unknown` type require before use?

  2. 2. Which utility type makes all properties optional?

  3. 3. What does a tuple type `[string, number]` represent?

  4. 4. What is structural typing?

  5. 5. Which operator narrows a union by checking a property?

  6. 6. What's the difference between `interface` and `type`?

  7. 7. What does `as const` do?

  8. 8. Which is a generic constraint?

  9. 9. What does `never` represent?

  10. 10. Which flag enables strict null checks?