Module 1
01 · TypeScript Basics & Setup
Understand what TypeScript adds over JavaScript, set up tsconfig.json, and learn core primitives.
Roadmap 02 · 3–5 weeks
A central-spine milestone tree from TypeScript setup and basic types through interfaces, classes, type narrowing, generics, utility types, and React/Angular integration.
TypeScript Home
Why TypeScript & JS Superset
TS Setup & tsconfig.json
Understand what TypeScript adds over JavaScript, set up tsconfig.json, and learn core primitives.
Basic & Special Types
Type Inference & Annotations
Arrays & Tuples
Object Types & Optional Props
Enums
Type Aliases & Interfaces
Shape object contracts with optional properties, enums, type aliases, interfaces, unions, and literals.
Union & Intersection Types
Literal Types & as const
Functions & Return Types
Function Overloads
Add strict signatures to functions, write overloads, and build encapsulated TypeScript classes.
Classes & Access Modifiers
Abstract Classes & Implements
Type Casting & Assertions (as)
Safely narrow union and unknown types at runtime and understand when assertions are safe.
Type Guards & Narrowing
Generics Basics
Generic Constraints (extends)
Write reusable type-safe components with Generics, constraints, built-in utilities, and keyof/typeof.
Built-in Utility Types
keyof & typeof Operators
Indexed Access & Mapped Types
Conditional Types & infer
Master mapped types, conditional infer logic, ESM modules, .d.ts declarations, and React/Angular TS.
Modules & Namespaces
Declaration Files (.d.ts)
TS with React & Angular