0Pricing
TypeScript Academy · Lesson

Generic interfaces & type aliases

Define generic interfaces and type aliases; add constraints, defaults, and understand where each shines.

Lesson overview

Goal: Apply structured concurrency with coroutineScope, understand exception propagation, and use cancellation tools safely.

Intro

Goal: Create reusable shapes using generic interfaces and type aliases. You will add constraints, defaults, and learn key differences.

All lessons in this course

  1. Generic interfaces & type aliases
  2. Conditional Types (intro) & distribution over unions
  3. Reusable patterns for data models
← Back to TypeScript Academy