ts-type-forge
    Preparing search index...

    Type Alias Intersection<Types>

    Intersection: IntersectionImpl<Types>

    Creates an intersection type from a tuple of types Types.

    Type Parameters

    • Types extends readonly unknown[]

      A readonly tuple of types.

    type Inter = Intersection<[string, number, { a: boolean }]>; // string & number & { a: boolean }