This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use the & operator between types to create an intersection: type Combined = TypeA & TypeB creates a type with all properties.
You've completed the free preview. Subscribe to unlock every lesson in every course.