This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Combining object types merges their properties: { name: string } & { age: number } results in { name: string; age: number }.
You've completed the free preview. Subscribe to unlock every lesson in every course.