HomeStudy GuidesTypeScript
🔷 TypeScript

TypeScript Exam Study Guide

Seven topic guides covering everything tested on TypeScript interviews and exams. Code examples, exam traps, and tips throughout.

Test your TypeScript knowledge →Free · No sign-up
📐
01· 6 min read

TypeScript Types vs Interfaces — When to Use Which

Types and interfaces are the foundation of TypeScript. Here's what exams test — the differences and when each applies.

Read guide →
🔭
02· 4 min read

TypeScript Type Inference Explained — When to Add Type Annotations

TypeScript infers most types automatically. Here's when you need annotations and when they just add noise.

Read guide →
03· 6 min read

TypeScript Union & Intersection Types — Discriminated Unions Explained

Union and intersection types model "or" and "and" relationships. Discriminated unions are the most powerful pattern.

Read guide →
🧪
04· 6 min read

TypeScript Generics Explained — Generic Functions, Constraints & keyof

Generics enable reusable, type-safe code. Here's what interviews test — from basic generic functions to constraints.

Read guide →
🛠️
05· 5 min read

TypeScript Utility Types — Partial, Required, Pick, Omit, Record

Utility types transform existing types into new ones. These save you from writing repetitive type definitions.

Read guide →
🔬
06· 5 min read

TypeScript Type Narrowing — typeof, instanceof, Custom Type Guards

TypeScript narrows union types inside conditional blocks. Here's all the narrowing patterns and custom type guards.

Read guide →
🔷

Ready to prove it?

Take the free TypeScript readiness test. Get a score from 0–100, a topic breakdown, and your exact weak areas — in under 20 minutes.

Take the free TypeScript test →

Free · No sign-up · Instant results

← All study guides