Type Alias UnionOfValues<A>

UnionOfValues<A>: A extends Readonly<(infer E)[]>
    ? E
    : never

Gets the union of value types in A

Type Parameters

  • A extends readonly unknown[]