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
- Why TypeScript
- Basic Types
- Functions
- Objects & Interfaces
- Union & Literal Types
- Arrays & Tuples
- Classes
- Generics
- Narrowing & Type Guards
- Utility Types
- Modules
- Async & Typed APIs