Skip to main content
Module

x/deepmergets/src/types/utils.ts>TupleToIntersection

Deeply merge 2 or more objects respecting type information.
Go to Latest
type alias TupleToIntersection
import { type TupleToIntersection } from "https://deno.land/x/deepmergets@v7.0.1/src/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