Type Alias TSetUnionMany<T, Acc>

TSetUnionMany<T, Acc>: T extends [infer L extends PropertyKey[], ...(infer R extends PropertyKey[][])]
    ? TSetUnionMany<R, TSetUnion<Acc, L>>
    : Acc

Type Parameters

  • T extends PropertyKey[][]
  • Acc extends PropertyKey[] = []