Comparing version 0.0.3 to 0.0.4
@@ -1,3 +0,3 @@ | ||
export declare const getAllEnumKeys: (enumType: any) => string[]; | ||
export declare const getAllEnumValues: (enumType: any) => Array<number | string>; | ||
export declare const getAllEnumEntries: (enumType: any) => Array<[string, number | string]>; | ||
export declare function getAllEnumKeys<T>(enumType: T): Array<keyof T>; | ||
export declare function getAllEnumValues<T>(enumType: T): Array<T[keyof T]>; | ||
export declare function getAllEnumEntries<T>(enumType: T): Array<[keyof T, T[keyof T]]>; |
{ | ||
"name": "enum-for", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "An utility library to get all values/keys of a Typescript enum", | ||
@@ -11,9 +11,9 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.10.2", | ||
"@babel/preset-typescript": "^7.10.1", | ||
"@types/node": "^14.0.9", | ||
"babel-jest": "^26.0.1", | ||
"jest": "^26.0.1", | ||
"ts-node": "^8.10.2" | ||
"@babel/core": "^7.12.10", | ||
"@babel/preset-typescript": "^7.12.7", | ||
"@types/node": "^14.14.16", | ||
"babel-jest": "^26.6.3", | ||
"jest": "^26.6.3", | ||
"ts-node": "^9.1.1" | ||
} | ||
} |
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
4599