utilium 0.6.2 → 0.6.3

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/types.d.ts CHANGED
@@ -165,7 +165,7 @@ export type OptionalTuple<T extends unknown[]> = T extends [infer Head, ...infer
165
165
  * Keys of a Map
166
166
  */
167
167
  export type MapKeys<T> = T extends Map<infer K, any> ? K : never;
168
- export type ClassLike<Instance = unknown> = abstract new (...args: unknown[]) => Instance;
168
+ export type ClassLike<Instance = any> = abstract new (...args: any[]) => Instance;
169
169
  /**
170
170
  * Converts a union to an intersection
171
171
  * @see https://stackoverflow.com/a/55128956/17637456
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utilium",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Typescript utilies",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types.ts CHANGED
@@ -202,7 +202,7 @@ export type OptionalTuple<T extends unknown[]> = T extends [infer Head, ...infer
202
202
  */
203
203
  export type MapKeys<T> = T extends Map<infer K, any> ? K : never;
204
204
 
205
- export type ClassLike<Instance = unknown> = abstract new (...args: unknown[]) => Instance;
205
+ export type ClassLike<Instance = any> = abstract new (...args: any[]) => Instance;
206
206
 
207
207
  /**
208
208
  * Converts a union to an intersection