Converts a union type to an intersection type.
The union type to convert.
type Original = string | number;type Mutated = UnionToIntersection<Original>; // string & number Copy
type Original = string | number;type Mutated = UnionToIntersection<Original>; // string & number
Converts a union type to an intersection type.