Skip to main content
Module

std/collections/mod.ts>MergeAllRecords

The Deno Standard Library
Go to Latest
type alias MergeAllRecords
import { type MergeAllRecords } from "https://deno.land/std@0.223.0/collections/mod.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