std/collections/deep_merge.ts

Deno standard library
Go to Latest
type alias DeepMerge
import { type DeepMerge } from "https://deno.land/std@0.139.0/collections/deep_merge.ts?s=DeepMerge";

Merge deeply two objects

Type Parameters

optional
Options = Record<string, MergingStrategy>
[src]
definition: [T, U] extends [Record<PropertyKey, unknown>, Record<PropertyKey, unknown>] ? Merge<T, U, Options> : T | U[src]