Skip to main content

Module 08 — OOP with TypeScript

What You'll Learn

Object-Oriented Programming (OOP) organizes code around objects that bundle data and behavior together. TypeScript makes OOP practical with interfaces, access modifiers, and generics.

Learning Objectives

  • Write ES6 classes with TypeScript types
  • Use inheritance, composition, and polymorphism
  • Apply common design patterns (Factory, Repository, Strategy)
  • Write unit tests with Vitest

Module Lessons

  1. Classes & Interfaces
  2. Inheritance & Polymorphism
  3. Design Patterns
  4. Testing with Vitest

Challenge

Build a Vehicle Fleet Manager using OOP — vehicles with inheritance, a fleet manager, and a full test suite. View Challenge →