Skip to content

Documentation / @ripl/utilities / UnionToIntersection

Type Alias: UnionToIntersection<U> ​

UnionToIntersection<U> = U extends any ? (arg) => any : never extends (arg) => void ? I : never

Defined in: types.ts:26

Converts a union type to an intersection type.

Type Parameters ​

Type Parameter
U