← All roadmaps
Intermediate~6 weeks7 steps

TypeScript

Add static types to your JavaScript: from everyday types through narrowing, generics, and advanced type-level tools, to configuring and using TypeScript in real projects. Best after you know JavaScript.

  1. Why TypeScript & setup

    Understand what the compiler buys you and get a TypeScript project running.

  2. Everyday types

    Type primitives, arrays, objects, and functions — the 80% you use daily.

  3. Narrowing & unions

    Model real data with union types and let control flow narrow them safely.

  4. Generics & object types

    Write reusable, type-safe functions and shapes with generics, interfaces, and type aliases.

  5. Advanced types

    Level up with mapped types, conditional types, and template literal types.

  6. tsconfig & tooling

    Configure strictness, module resolution, and linting for a healthy codebase.

  7. TypeScript in real projects

    Apply TypeScript with React and Node the way production teams do.