← TypeScript levels

TypeScript

Intermediate

Narrowing, type guards, generics and the utility types — where a mid-level interview lives.

What it covers

Read first

New to this material? 16 of the 16 intermediate topics are written, and each one ends with questions from this same bank.

  1. type versus interface12 min
  2. Declaration merging13 min
  3. Narrowing15 min
  4. Type guards and predicates14 min
  5. Discriminated unions16 min
  6. Type assertions12 min
  7. The satisfies operator10 min
  8. keyof and indexed access14 min
  9. Generics13 min
  10. Generic constraints13 min
  11. Generic interfaces and classes14 min
  12. Classes and access modifiers16 min
  13. implements and extends15 min
  14. Utility types14 min
  15. Assignability and excess properties14 min
  16. Modules and import type12 min
All lectures in the study guide →

How many questions?

Questions are drawn at random from the 66 in this level, spread across both its topics and its question formats, so you never get fifteen of the same kind in a row. There is no timer.