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