Skip to main content
Tech & Professionalintermediate8 modules · 16 lessons

TypeScript Programming

Add static types to JavaScript: basic and object types, unions and narrowing, functions, interfaces and type aliases, generics, classes, modules, utility types, async code and tooling for real projects.

Syllabus

  1. Module 1: Getting started

    1. Why TypeScript
    2. Basic types
  2. Module 2: Objects and unions

    1. Interfaces and type aliases
    2. Union types and narrowing
  3. Module 3: Functions

    1. Function types
    2. Overloads and rest parameters
  4. Module 4: Generics

    1. Generic functions
    2. Generic types and utility types
  5. Module 5: Classes and modules

    1. Classes
    2. Modules
  6. Module 6: Strictness and safety

    1. Strict mode
    2. Type assertions and guards
  7. Module 7: Async code

    1. Promises and async functions
    2. Handling errors
  8. Module 8: Tooling and projects

    1. Linting, formatting and testing
    2. Declaration files and the ecosystem