@alextheman/utility 2.3.1 → 2.3.2
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/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -20,7 +20,7 @@ declare function isMonthlyMultiple(firstDate: Date, secondDate: Date): boolean;
|
|
|
20
20
|
|
|
21
21
|
declare function isSameDate(firstDate: Date, secondDate: Date): boolean;
|
|
22
22
|
|
|
23
|
-
declare function omitProperties<T extends Record<string, unknown
|
|
23
|
+
declare function omitProperties<T extends Record<string, unknown> | Readonly<Record<string, unknown>>, K extends keyof T>(object: T, keysToOmit: K | readonly K[]): Omit<T, K>;
|
|
24
24
|
|
|
25
25
|
declare function parseIntStrict(string: string, radix?: number): number;
|
|
26
26
|
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare function isMonthlyMultiple(firstDate: Date, secondDate: Date): boolean;
|
|
|
20
20
|
|
|
21
21
|
declare function isSameDate(firstDate: Date, secondDate: Date): boolean;
|
|
22
22
|
|
|
23
|
-
declare function omitProperties<T extends Record<string, unknown
|
|
23
|
+
declare function omitProperties<T extends Record<string, unknown> | Readonly<Record<string, unknown>>, K extends keyof T>(object: T, keysToOmit: K | readonly K[]): Omit<T, K>;
|
|
24
24
|
|
|
25
25
|
declare function parseIntStrict(string: string, radix?: number): number;
|
|
26
26
|
|