type-plus
    Preparing search index...

    Type Alias UnionOfValues<A>

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

    Gets the union of value types in A

    Type Parameters

    • A extends readonly unknown[]