Type Alias TupleUnion<L>

TupleUnion<L>: L extends [infer H, ...(infer T)]
    ? H | TupleUnion<T>
    : never

Create a union from a tuple type

Type Parameters

  • L