Loading
Current section: 1. Type Aliases 5 exercises
Problem

Composition

Loading exercise

Transcript

00:00 Alright. Let's talk about type composition. You don't have to necessarily, make type aliases just for objects. You can actually make a type alias for just about anything. And there's a good reason to do that even for primitive types.

00:12 So in this exercise, we're gonna learn why that is. I'll have you get into it and then we'll work through it together when you're done.