ArrayToUnion
The array to convert
Convert an array to a union
A union
type Array = ['a', 'b', 'c'];type Union = ArrayToUnion<Array>; // 'a' | 'b' | 'c' Copy
type Array = ['a', 'b', 'c'];type Union = ArrayToUnion<Array>; // 'a' | 'b' | 'c'
ArrayToUnion