Skip to content

Cerces


Cerces / types / UnionToIntersection

Type Alias: UnionToIntersection<U>

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

Defined in: src/types.ts:142

Convert a union type to an intersection type.

Type Parameters

U

U