@metreeca/blue - v0.10.0
    Preparing search index...

    Type Alias Intersected<U>

    Intersected: (U extends unknown ? (x: U) => void : never) extends (
        x: infer I,
    ) => void
        ? I
        : never

    Collapses a union type into the intersection of its members.

    Uses contravariant function-parameter inference to turn A | B | C into A & B & C. Used by Inheritance to merge the templates inferred from multiple parent shapes into a single object carrying every inherited property.

    Type Parameters

    • U

      The union type to collapse