Module

std/collections/mod.ts

Deno standard library
Go to Latest
type alias DeepMerge
import { type DeepMerge } from "https://deno.land/std@0.159.0/collections/mod.ts";

Merge deeply two objects

Type Parameters

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