Type Challenges Judge
Problems
Progress
Tuple to Union
Implement a generic TupleToUnion<T> which covers the values of a tuple to its values union.
TupleToUnion<T>
For example
type Arr = ['1', '2', '3'] type Test = TupleToUnion<Arr> // expected to be '1' | '2' | '3'