Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deepmergets/dist/deno/deepmerge-into.ts>deepmergeInto

Deeply merge 2 or more objects respecting type information.
Go to Latest
function deepmergeInto
import { deepmergeInto } from "https://deno.land/x/deepmergets@v5.1.0/dist/deno/deepmerge-into.ts";

Deeply merge objects into a target.

Type Parameters

T extends object

Parameters

target: T
  • This object will be mutated with the merge result.
...objects: ReadonlyArray<T>
  • The objects to merge into the target.

Deeply merge objects into a target.

Type Parameters

Target extends object
Ts extends ReadonlyArray<unknown>

Parameters

target: Target
  • This object will be mutated with the merge result.
...objects: Ts
  • The objects to merge into the target.