actionhero
Version:
The reusable, scalable, and quick node.js API server for stateless and stateful applications
9 lines (8 loc) • 402 B
TypeScript
/**
* Recursively merge 2 Objects together. Will resolve functions if they are present, unless the parent Object has the property `_toExpand = false`.
* Actionhero uses this internally to construct and resolve the config.
* Matching keys in B override A.
*/
export declare function hashMerge(a: Record<string, any>, b: Record<string, any>, arg?: Record<string, any>): {
[key: string]: any;
};