TypeScript
Basic
Annotations, inference, the primitive types, and the difference between any and unknown.
What it covers
- annotations
- inference
- arrays & tuples
- interfaces
- type aliases
- unions
- literal types
- functions
- enums
- any / unknown / never
- tsconfig
Read first
New to this material? 13 of the 13 basic topics are written, and each one ends with questions from this same bank.
- What TypeScript is7 min
- Annotations and inference12 min
- Primitive types11 min
- Arrays and tuples12 min
- Objects and interfaces15 min
- Type aliases12 min
- Unions and intersections13 min
- Literal types and as const13 min
- Typing functions15 min
- Enums12 min
- any, unknown, never and void13 min
- Structural typing12 min
- tsconfig and strict14 min
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.