@alextheman/utility 2.3.0 → 2.3.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
@@ -28,7 +28,7 @@ declare function randomiseArray<T>(array: T[]): T[];
28
28
 
29
29
  declare function range(start: number, stop: number, step?: number): number[];
30
30
 
31
- declare function removeDuplicates<T>(array: T[]): T[];
31
+ declare function removeDuplicates<T>(array: T[] | readonly T[]): T[];
32
32
 
33
33
  declare function stringToBoolean(inputString: string): boolean;
34
34
 
package/dist/index.d.ts CHANGED
@@ -28,7 +28,7 @@ declare function randomiseArray<T>(array: T[]): T[];
28
28
 
29
29
  declare function range(start: number, stop: number, step?: number): number[];
30
30
 
31
- declare function removeDuplicates<T>(array: T[]): T[];
31
+ declare function removeDuplicates<T>(array: T[] | readonly T[]): T[];
32
32
 
33
33
  declare function stringToBoolean(inputString: string): boolean;
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/utility",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Helpful utility functions",
5
5
  "license": "ISC",
6
6
  "author": "alextheman",