Interactive course
TypeScript Course
Master TypeScript, the typed superset of JavaScript. Learn how to write safer and more robust code using primitive types, interfaces, type aliases, union types, type narrowing, and generic programming (Generics).
Static verification via keywords + execution on the official TypeScript Playground (one click for copy code + open).
01 · TypeScript Fundamentals
The foundations of the type system: annotations for primitive types, function parameters, arrays, and tuples.
02 · Types and Interfaces
Create complex data shapes with interfaces and aliases, and work with flexible union types.
03 · Generics and Functions
Functions with optional parameters, function type signatures, and the powerful world of Generics.
04 · Classes and Utility Types
Object-oriented programming with classes and built-in utility types to transform existing types.
05 · Advanced Types and Guards
Deepen your understanding of the type system with custom type guards, literal types, type assertions, and template literal types.
06 · Conditional and Mapped Types
Learn how to create dynamic types and transform existing types using conditional types, the infer operator, and mapped types.
07 · Configuration and Integration
Discover how to configure the TypeScript compiler using tsconfig.json and extend existing types with declaration merging.