TypeScript Fundamentals

A structured, self-paced course in TypeScript for developers

What you'll learn

This course takes you from zero TypeScript to building complete, well-structured projects. Each module builds on the last, with hands-on code examples you can run immediately.

Crash Course
The top 10% of the course in one sitting
Skim the essentials, then dive deeper where it matters.
โ†’
Flashcards
Drill the full question bank
Spaced-repetition memory across every module quiz.
โ†’

Self-Study Modules

Typed Basics
Module 0 Typed Basics
What Is TypeScript
Quiz
Module 1 Typed Basics
Variables and Types
Quiz
Module 2 Typed Basics
Arrays, Tuples, and Objects
Quiz
Module 3 Typed Basics
Functions and Type Signatures
Quiz
Module 4 Typed Basics
Control Flow
Quiz
Composing Types
Module 5 Composing Types
Type Aliases and Unions
Quiz
Module 6 Composing Types
Interfaces
Quiz
Module 7 Composing Types
Classes
Quiz
Module 8 Composing Types
Generics
Quiz
Module 9 Composing Types
Enums and Utility Types
Quiz
Real-World Code
Module 10 Real-World Code
Type Narrowing
Quiz
Module 11 Real-World Code
Modules and Imports
Quiz
Module 12 Real-World Code
Async/Await and Promises
Quiz
Module 13 Real-World Code
Error Handling
Quiz
Module 14 Real-World Code
JSON and APIs
Quiz
Project Toolchain
Module 15 Project Toolchain
npm and Package Management
Quiz
Module 16 Project Toolchain
tsconfig and Build Configuration
Quiz
Module 17 Project Toolchain
Testing with Vitest
Quiz
Module 18 Project Toolchain
Decorators and Advanced Patterns
Quiz
Module 19 Project Toolchain
Capstone: Task Tracker CLI
Quiz

Your Practice Path

After Modules 0-4:   You can write typed functions, arrays, and control flow
After Modules 5-9:   You can model complex data with interfaces, generics, and utility types
After Modules 10-14: You can handle async code, errors, and external data safely
After Modules 15-19: You can set up, test, and structure a complete TypeScript project