Composing Types
Build bigger types out of smaller ones rather than repeating yourself.
& intersects: type Timestamped = { created: string } and then Book & Timestamped.
extends does the same for interfaces.
The point is the same as normalization in the SQL course: describe each fact once, so correcting it corrects everything.
Mark this lesson complete
Signed in, your progress follows you to every device.