Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UnionToIntersection

type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;

§Type Parameters

§Type

§
(U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never
[src]