@alextheman/utility 2.16.0 → 2.16.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/index.d.cts CHANGED
@@ -87,7 +87,7 @@ declare function kebabToCamel(string: string, options?: KebabToCamelOptions): st
87
87
  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>;
88
88
 
89
89
  type ParallelTuple<A, B> = [A, B | undefined];
90
- declare function paralleliseArrays<FirstArrayItem, SecondArrayItem>(firstArray: FirstArrayItem[], secondArray: SecondArrayItem[]): ParallelTuple<FirstArrayItem, SecondArrayItem>[];
90
+ declare function paralleliseArrays<FirstArrayItem, SecondArrayItem>(firstArray: FirstArrayItem[] | readonly FirstArrayItem[], secondArray: SecondArrayItem[] | readonly SecondArrayItem[]): ParallelTuple<FirstArrayItem, SecondArrayItem>[];
91
91
 
92
92
  declare function parseIntStrict(...[string, radix]: Parameters<typeof parseInt>): number;
93
93
 
package/dist/index.d.ts CHANGED
@@ -87,7 +87,7 @@ declare function kebabToCamel(string: string, options?: KebabToCamelOptions): st
87
87
  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>;
88
88
 
89
89
  type ParallelTuple<A, B> = [A, B | undefined];
90
- declare function paralleliseArrays<FirstArrayItem, SecondArrayItem>(firstArray: FirstArrayItem[], secondArray: SecondArrayItem[]): ParallelTuple<FirstArrayItem, SecondArrayItem>[];
90
+ declare function paralleliseArrays<FirstArrayItem, SecondArrayItem>(firstArray: FirstArrayItem[] | readonly FirstArrayItem[], secondArray: SecondArrayItem[] | readonly SecondArrayItem[]): ParallelTuple<FirstArrayItem, SecondArrayItem>[];
91
91
 
92
92
  declare function parseIntStrict(...[string, radix]: Parameters<typeof parseInt>): number;
93
93
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/utility",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "description": "Helpful utility functions",
5
5
  "repository": {
6
6
  "type": "git",