TypeScript MCQ test
Check your TypeScript knowledge with a free online quiz. Each attempt picks 15 multiple-choice questions at random, from fresher to experienced level, and shows your score with the right answer and an explanation for every question.
15 random TypeScript questions · no time limit
A new mix every attempt. You see your score and every explanation at the end.
What this TypeScript test covers
- Types vs interfaces, unions and intersections
- Narrowing with typeof, in, and discriminated unions
- Generics and utility types such as Partial, Pick and Record
- Typing React components, props and hooks
- Strict mode settings and where any and unknown belong
Want to read first? See all TypeScript interview questions and answers.