Type alias UnionToIntersection<T>

UnionToIntersection<T>: (T extends any
        ? ((x) => any)
        : never) extends ((x) => any)
    ? U
    : never

Make an intersection type from the given object type or interface union.

Type Parameters

  • T extends Record<PropertyKey, any>

Generated using TypeDoc