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
- Generic interfaces & type aliases
- Conditional Types (intro) & distribution over unions
- Reusable patterns for data models