🟨 JavaScript & TypeScript path
TypeScript interview questions and study guide
7 lessons from beginner to advanced. Each lesson explains the concept, shows a worked example and lists the follow-up questions interviewers ask next.
Start with lesson 1 →Beginner 2 lessons
- What is TypeScript and why do teams use it for frontend code?
- interface vs type alias: when do you use each?
Intermediate 4 lessons
- Explain union types, narrowing and discriminated unions.
- How do generics work? Show a generic function, a constraint and a generic React component.
- Which built-in utility types do you use most?
- How do you type React components, hooks and events in TypeScript?