Welcome to Learn TypeScript - the Interactive TypeScript Tutorial
Welcome to learn-ts.org - the Interactive TypeScript tutorial. Whether you are new to TypeScript or aiming to deepen your knowledge, this guide is curated for learners of all levels. TypeScript, as a superset of JavaScript, brings static typing and several other powerful features to the table, enhancing the development experience and ensuring more robust applications.
Dive into the chapters below to embark on your TypeScript journey. Each section offers tutorials, example code, exercises, and solutions to consolidate your understanding.
Basics
- Introduction
- Variables and Types
- Functions
- Loops
- Arrays
- Operators
- Truthy and Falsy
- Classes
- Interfaces
- Modules
- Type Assertions
Advanced
- keyof and typeof Operators
- Type Unions and Intersections
- Conditional Types
- Enum Type
- Generics
- Index Types
- Literal Types
- Discriminated Unions
- Mapped Types
- Mixins
- Namespaces
- Readonly Type
- Tuple Types
- Type Aliases
- Type Guards
- Decorators
- Utility Types
- Abstract Classes
Start your learning journey and dive deep into the fascinating world of TypeScript!