rattail 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -106,8 +106,8 @@ declare function lowerFirst(s: string): string;
|
|
|
106
106
|
declare function randomString(length?: number): string;
|
|
107
107
|
declare function randomColor(): string;
|
|
108
108
|
|
|
109
|
-
declare function mergeWith<
|
|
110
|
-
declare function merge<
|
|
109
|
+
declare function mergeWith<T extends Record<string, any>, K extends Record<string, any>>(object: T, source: K, fn: (objValue: any, srcValue: any, key: string | number | symbol, object?: T, source?: K) => any): T & K;
|
|
110
|
+
declare function merge<T extends Record<string, any>, K extends Record<string, any>>(object: T, source: K): T & K;
|
|
111
111
|
declare function cloneDeep<T>(value: T): T;
|
|
112
112
|
declare function cloneDeepWith<T>(value: T, fn: (value: any) => any): T;
|
|
113
113
|
|
package/lib/index.d.ts
CHANGED
|
@@ -106,8 +106,8 @@ declare function lowerFirst(s: string): string;
|
|
|
106
106
|
declare function randomString(length?: number): string;
|
|
107
107
|
declare function randomColor(): string;
|
|
108
108
|
|
|
109
|
-
declare function mergeWith<
|
|
110
|
-
declare function merge<
|
|
109
|
+
declare function mergeWith<T extends Record<string, any>, K extends Record<string, any>>(object: T, source: K, fn: (objValue: any, srcValue: any, key: string | number | symbol, object?: T, source?: K) => any): T & K;
|
|
110
|
+
declare function merge<T extends Record<string, any>, K extends Record<string, any>>(object: T, source: K): T & K;
|
|
111
111
|
declare function cloneDeep<T>(value: T): T;
|
|
112
112
|
declare function cloneDeepWith<T>(value: T, fn: (value: any) => any): T;
|
|
113
113
|
|