Comparing version 0.2.1 to 0.3.0
@@ -5,2 +5,4 @@ export * from './misc.js'; | ||
export * from './random.js'; | ||
export * from './string.js'; | ||
export * from './struct.js'; | ||
export * from './types.js'; |
@@ -5,2 +5,4 @@ export * from './misc.js'; | ||
export * from './random.js'; | ||
export * from './string.js'; | ||
export * from './struct.js'; | ||
export * from './types.js'; |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import type * as FS from 'fs'; | ||
@@ -3,0 +3,0 @@ export declare function filterObject<O extends object, R extends object>(object: O, predicate: (key: keyof O, value: O[keyof O]) => boolean): R; |
@@ -173,2 +173,7 @@ /** | ||
export type OptionalTuple<T extends unknown[]> = T extends [infer Head, ...infer Tail] ? [Head?, ...OptionalTuple<Tail>] : T; | ||
/** | ||
* Keys of a Map | ||
*/ | ||
export type MapKeys<T> = T extends Map<infer K, any> ? K : never; | ||
export type ClassLike<Instance = unknown> = abstract new (...args: unknown[]) => Instance; | ||
export {}; |
{ | ||
"name": "utilium", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Typescript utilies", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,2 +5,4 @@ export * from './misc.js'; | ||
export * from './random.js'; | ||
export * from './string.js'; | ||
export * from './struct.js'; | ||
export * from './types.js'; |
@@ -198,1 +198,8 @@ /** | ||
export type OptionalTuple<T extends unknown[]> = T extends [infer Head, ...infer Tail] ? [Head?, ...OptionalTuple<Tail>] : T; | ||
/** | ||
* Keys of a Map | ||
*/ | ||
export type MapKeys<T> = T extends Map<infer K, any> ? K : never; | ||
export type ClassLike<Instance = unknown> = abstract new (...args: unknown[]) => Instance; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52878
26
1476