Learn TypeScript by writing real code

JavaScript with types: catch mistakes before they run, from basic types to generics and typed API calls.

Each chapter explains one idea, shows a worked example and then asks you to write and run your own TypeScript code in the browser, with tests that check your answer.

Anyone can read the chapter list. The chapters themselves are part of licode Club.

TypeScript chapters

  1. Why TypeScript
  2. Basic Types
  3. Functions
  4. Objects & Interfaces
  5. Union & Literal Types
  6. Arrays & Tuples
  7. Classes
  8. Generics
  9. Narrowing & Type Guards
  10. Utility Types
  11. Modules
  12. Async & Typed APIs