👋 New to TypeScript? Start here.
Follow this path in order — each step builds on the last.
Your learning path
Foundations Track
Types, interfaces, type inference — for JS developers stepping up. ~3 hours.
Start here if new
Practitioner Track
Generics, utility types, decorators, real-world patterns. ~4 hours.
Advanced Track
Advanced types, conditional types, mapped types, TypeScript compiler internals. ~5 hours.
📑 Reference Pages
Deep dives into each part of TypeScript. Read when you need to understand something properly, or use as a lookup while coding.
TypeScript Overview
What TypeScript is, why types matter, the TS compiler.
Types & Interfaces
Primitive types, unions, intersections, type aliases, interfaces.
Generics
Type parameters, generic functions, constraints, default types.
Utility Types
Partial, Required, Pick, Omit, Record, ReturnType, and more.
▶ Run Code & Copy Snippets
Copy ready-to-use code patterns or run TypeScript right in your browser.
🛠 Projects
TypeScript projects share the same logic as JavaScript projects. The Number Guessing Game and To-Do List are available.
🟩 Foundations
Short programs using basic syntax only.
Number Guessing Game
To-Do List
📊 Go Further
Compare TypeScript to Other Languages
Side-by-side syntax comparison across all 11 languages on The Codex.
History of Programming Languages
How TypeScript came to be, what problems it solved, and how it fits the bigger picture.
Programming Glossary
Plain English definitions for 80 terms — variable, function, loop, class, API, and more.