utilium 3.7.0 → 3.7.1
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/dist/objects.d.ts +1 -1
- package/package.json +1 -1
package/dist/objects.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type Omit<T, K extends PropertyKey> = {
|
|
|
11
11
|
};
|
|
12
12
|
export declare function omit<T extends object, K extends keyof T>(object: T, ...keys: readonly K[]): Omit<T, K>;
|
|
13
13
|
export declare function omit<T extends object, K extends keyof T>(object: T, ...keys: readonly (readonly K[])[]): Omit<T, K>;
|
|
14
|
-
export declare function assignWithDefaults<To extends Record<keyof
|
|
14
|
+
export declare function assignWithDefaults<To extends Record<keyof From, any>, From extends Record<string, any>>(to: To, from: From, defaults?: Partial<From>): void;
|
|
15
15
|
/**
|
|
16
16
|
* Returns whether `value` is not a primitive.
|
|
17
17
|
*
|