Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / experimental-utils / _ts3.4 / dist / eslint-utils / deepMerge.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/experimental-utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/experimental-utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts
new file mode 100644 (file)
index 0000000..98cd072
--- /dev/null
@@ -0,0 +1,17 @@
+declare type ObjectLike<T = unknown> = Record<string, T>;\r
+/**\r
+ * Check if the variable contains an object strictly rejecting arrays\r
+ * @param obj an object\r
+ * @returns `true` if obj is an object\r
+ */\r
+declare function isObjectNotArray<T extends ObjectLike>(obj: unknown | unknown[]): obj is T;\r
+/**\r
+ * Pure function - doesn't mutate either parameter!\r
+ * Merges two objects together deeply, overwriting the properties in first with the properties in second\r
+ * @param first The first object\r
+ * @param second The second object\r
+ * @returns a new object\r
+ */\r
+export declare function deepMerge(first?: ObjectLike, second?: ObjectLike): Record<string, unknown>;\r
+export { isObjectNotArray };\r
+//# sourceMappingURL=deepMerge.d.ts.map\r