Tuple to Union medium #infer #tuple #union

by Anthony Fu @antfu

Take the Challenge

Implement a generic `TupleToUnion` which covers the values of a tuple to its values union. For example ```ts type Arr = ['1', '2', '3'] const a: TupleToUnion // expected to be '1' | '2' | '3' ```
Back Share your Solutions Check out Solutions