Type

UnionToIntersection

: (U extends any ? (k: U) => void : never ) extends (k:
Parsing error with InferType
) => void
? I : never

Convert a union type to an intersection type.

kaplay logo

Layer

Miscalenous