⚠️ Internal: This API is not publically exported by the package.

      Type alias UnionToIntersection<T>

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

      A utility type that transforms a union type T into an intersection type.

      Type Parameters

      • T

      Since

      2.0.0