Module

std/collections/mod.ts>DeepMerge

Deno standard library
Go to Latest
type alias DeepMerge
import { type DeepMerge } from "https://dotland.deno.dev/std@0.130.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