Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deepmergets/dist/deno/types/utils.ts>TupleToIntersection

Deeply merge 2 or more objects respecting type information.
Latest
type alias TupleToIntersection
import { type TupleToIntersection } from "https://deno.land/x/deepmergets@v7.0.3/dist/deno/types/utils.ts";

Convert a tuple to an intersection of each of its types.

Type Parameters

T extends ReadonlyArray<unknown>
definition: [K in keyof T]: (x: T[K]) => void extends Record<number, (x: infer I) => void> ? I : never