Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fathym_common/deps.ts>DeepMerge

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
type alias DeepMerge
import { type DeepMerge } from "https://deno.land/x/fathym_common@v0.0.184/deps.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