Type Alias UnionToTuple<Union, Acc, Last>

UnionToTuple: [Union] extends [never]
    ? Acc
    : UnionToTuple<Exclude<Union, Last>, [Last, ...Acc]>

Type Parameters