@webdeveric/utils
    Preparing search index...

    Type Alias UnionOf<T>

    UnionOf: T[number]

    Union of the element types of T.

    Type Parameters

    • T extends readonly unknown[]
    type Example = UnionOf<[1, 'a', true]>; // 1 | 'a' | true