Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
type alias MergeAllRecords
import { type MergeAllRecords } from "https://deno.land/std@0.224.0/collections/deep_merge.ts";

Merge all records types definitions from keys present in both objects

Type Parameters

T
U
Options
optional
X = PartialByType<T, Record<PropertyKey, unknown>>
optional
Y = PartialByType<U, Record<PropertyKey, unknown>>
optional
Z = [K in keyof X & keyof Y]: DeepMerge<X[K], Y[K], Options>
definition: Z