@devlander/utils
Version:
Comprehensive JavaScript and TypeScript utilities for seamless development. Includes object manipulation, data validation, and more.
10 lines (9 loc) • 312 B
TypeScript
import { AnyObject } from "../types/value.types";
/**
* Merges two nested objects together.
*
* @param oldObj - The original object to merge.
* @param newObj - The new object to merge.
* @returns The merged object.
*/
export declare const mergeObjects: (oldObj: AnyObject, newObj: AnyObject) => AnyObject;