Skip to main content
Module

x/911/types.d.ts>UnionToIntersection

Opinionated collection of helper tools. Assembled with Deno in mind.
Go to Latest
type alias UnionToIntersection
import { type UnionToIntersection } from "https://deno.land/x/911@0.1.2/types.d.ts";

Defines an intersection type of all union items.

definition: (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never