FlashcardIntermediate
Union, Intersection & Utility Types
Union types allow one of several types, intersections combine them, and utility types transform existing types.
Question
What's the difference between union (|), intersection (&), and utility types in TypeScript?
Click to reveal answer