Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tsafe/mod.ts>UnionToIntersection

🔩 The missing TypeScript utils
Go to Latest
type alias UnionToIntersection
import { type UnionToIntersection } from "https://deno.land/x/tsafe@v1.6.5/mod.ts";
definition: (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never