Skip to content

UnionToIntersection

reference
1 min readUpdated

Kind: Type

Source: src/utils/types.ts

Part of: Utils

Definition

ts
(U extends any ? (k: U) => void : never) extends ( k: infer I ) => void ? I : never

Was this page helpful?

Download as PDF
UnionToIntersection — Hono (narrator proof)