Skip to content
Laviyx Learn

Try

Learn TypeScript

Learn TypeScript once you know some JavaScript. Every lesson explains one idea in plain language, shows working code with its real output, and shows the exact errors the compiler catches.

Your progress0 / 39 lessons

Progress is saved in this browser. Accounts are coming later.

Lessons available
39
In the full course
39
  • Beginner

    Start from zero. No experience needed.

  • Intermediate

    Combine ideas to solve real problems.

  • Advanced

    The techniques used in professional work.

Course syllabus

All 39 lessons are available. Start anywhere, or follow the parts in order.

  1. Part 1 · Beginner

    TypeScript Fundamentals

    Set up TypeScript, compile your first program, and learn the basic types, inference, arrays, functions and objects.

  2. Part 2 · Intermediate

    Building Types

    Name and combine types with aliases, interfaces, unions and intersections, and narrow them safely.

  3. Part 3 · Intermediate

    Functions and Classes

    Type callbacks and overloads, and use classes with access modifiers, abstract classes and interfaces.

  4. Part 4 · Advanced

    Generics

    Write reusable, type-safe functions, interfaces and classes with generics and constraints.

  5. Part 5 · Advanced

    Advanced Types

    Derive new types from existing ones with keyof, utility types, mapped, conditional and template literal types.

  6. Part 6 · Advanced

    TypeScript in Real Projects

    Modules and declaration files, tsconfig options, typing the DOM, and typing async code and API data.

  7. Part 7 · Intermediate

    TypeScript Interview Preparation

    Questions asked in front-end, full-stack and Node.js interviews, with clear answers.

Keep going with TypeScript

Become a Better Programmer

Get new tutorials, coding challenges, and cheat sheets.

No spam. Unsubscribe any time.