Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias MergeAllRecords
import { type MergeAllRecords } from "https://deno.land/std@0.217.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