Type alias Merge<T>

Merge<T>: (T extends T
        ? ((_) => T)
        : never) extends ((_) => T)
    ? I
    : never

Type helper to convert union types (A | B) to intersection types (A & B).

Type Parameters

  • T

    The union type to Merge.

Generated using TypeDoc