Level 1 — Beginner
Prerequisites: Basic JavaScript (variables, functions, control flow) — see the JavaScript course first if these are new to you
This course assumes you already know basic JavaScript — variables, functions, if/loops, arrays and objects. If any of that is new, work through Learn JavaScript first. These lessons focus on what TypeScript actually adds on top: the type system.
Lessons in this module
- 1. What Is TypeScript? 4 min
- 2. Why Learn TypeScript? 3 min
- 3. Installing TypeScript 3 min
- 4. Setting Up Your Development Environment 3 min
- 5. Your First TypeScript Program 4 min
- 6. Compiling TypeScript with tsc 4 min
- 7. Basic Types 4 min
- 8. Type Annotations 4 min
- 9. Type Inference 4 min
- 10. Arrays and Tuples 4 min
- 11. Objects and Type Shapes 4 min
- 12. Interfaces 5 min
- 13. Functions with Types 4 min
- 14. Optional and Default Parameters 3 min
- 15. Union Types 4 min
- 16. Literal Types 3 min
- 17. Enums 4 min
- 18. Type Aliases 3 min
- 19. any, unknown, and never 4 min
- 20. Basic Error Handling with Types 4 min