.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / experimental-utils / dist / eslint-utils / deepMerge.d.ts
1 declare type ObjectLike<T = unknown> = Record<string, T>;
2 /**
3  * Check if the variable contains an object strictly rejecting arrays
4  * @param obj an object
5  * @returns `true` if obj is an object
6  */
7 declare function isObjectNotArray<T extends ObjectLike>(obj: unknown | unknown[]): obj is T;
8 /**
9  * Pure function - doesn't mutate either parameter!
10  * Merges two objects together deeply, overwriting the properties in first with the properties in second
11  * @param first The first object
12  * @param second The second object
13  * @returns a new object
14  */
15 export declare function deepMerge(first?: ObjectLike, second?: ObjectLike): Record<string, unknown>;
16 export { isObjectNotArray };
17 //# sourceMappingURL=deepMerge.d.ts.map