← All roadmaps
Web · High demand
TypeScript roadmap
TypeScript is now the default for professional web development. It adds type safety to JavaScript, reduces production bugs, and is expected in most React and Node.js job descriptions.
beginner
Types, Interfaces & the Compiler
About 4 weeks
Topics
- Why TypeScript: types vs plain JavaScript
- Basic types: string, number, boolean, arrays, tuples
- Interfaces vs type aliases
- Functions: parameter and return types
- Union, literal, and optional types
- Enums and type narrowing
- Setting up tsc, tsconfig, and VS Code
- Compiling and fixing your first type errors
Free resources
TypeScript Handbook
docs
TypeScript · The official handbook - read the first half fully.
Beginner's TypeScript
course
Total TypeScript · Free interactive tutorial for TS fundamentals.
TypeScript Tutorials
video
Matt Pocock · Short, practical videos from a TS educator.
Learn TypeScript - Beginner's Guide
article
freeCodeCamp · Gentle intro article with examples.
TypeScript Playground
practice
TypeScript · Try types instantly in the browser.
Hands-on practice
- Convert a small JavaScript project to TypeScript file by file
- Model a todo app's data with interfaces and typed functions
- Write typed utility functions (debounce, deep-clone)
- Fix 20 compiler errors in a provided broken codebase
Milestone checkpoint: You write TypeScript without 'any' escapes in small projects, read compiler errors and fix them quickly, and can explain interfaces vs types to a peer.
intermediate
Generics, Advanced Types & Tooling
About 6 weeks
Topics
- Generics: functions, classes, and constraints
- Advanced types: mapped, conditional, template literal
- Discriminated unions and exhaustive checking
- Type guards and assertion functions
- Working with third-party types and DefinitelyTyped
- Linting and formatting: ESLint + Prettier for TS
- Declaration files and publishing types
- Strict mode and noUncheckedIndexedAccess
Free resources
TypeScript Handbook - Advanced
docs
TypeScript · Generics, utility types, and advanced chapters.
Total TypeScript Free Tutorials
course
Total TypeScript · Free tier covers generics and type patterns.
Advanced TypeScript Videos
video
Matt Pocock · Generics and narrowing explained visually.
TypeScript Deep Dive
book
Basarat Ali Syed · Free in-depth book, great generics chapter.
type-challenges
practice
type-challenges · Solve type puzzles from easy to extreme.
Hands-on practice
- Solve 15 type-challenges from easy to medium
- Build a typed API client with generics and discriminated unions
- Add strict TypeScript to a React app and eliminate all implicit any
- Write a small typed library with declaration files
Milestone checkpoint: You model real domain logic with generics and advanced types, enable strict mode without fear, and your pull requests rarely need type-related review comments.
advanced
Type-Level Programming & Large Codebases
About 8 weeks
Topics
- Type-level programming: recursive types, inference tricks
- Designing type-safe APIs and SDKs
- Monorepos: project references and shared configs
- Performance: tsc bottlenecks and isolatedModules
- Testing types with expect-type and tsc --noEmit
- Design patterns with types: builders, branded types
- Migrating large JS codebases to TS incrementally
- Contributing types to DefinitelyTyped
Free resources
TypeScript Docs - Reference
docs
TypeScript · Full reference for edge-case type behavior.
Total TypeScript - Pro Patterns
course
Total TypeScript · Free pro-pattern articles and videos.
Pro TypeScript Videos
video
Matt Pocock · Type-level tricks and library design.
TypeScript Wiki - Performance
docs
TypeScript Team · Official guidance on fast compilation.
Hands-on practice
- Build a type-safe query builder with fluent branded types
- Migrate a 5k-line JS codebase to strict TS in staged PRs
- Create a shared types package used by two apps in a monorepo
- Solve 5 hard type-challenges
Milestone checkpoint: You design type-safe libraries others consume, keep large TS codebases compiling fast, and can whiteboard how a complex generic type resolves step by step.
Track your progress
Sign in to mark stages complete and watch your roadmap fill up on your dashboard.
Sign in