Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-enum-util

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-enum-util - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

6

dist/types/index.d.ts

@@ -406,3 +406,3 @@ /**

*/
export declare type NumberEnumWrapper<T extends EnumLike<number, keyof T> = any> = EnumWrapper<number, any>;
export declare type NumberEnumWrapper<T extends EnumLike<number, keyof T> = any> = EnumWrapper<number, T>;
export declare namespace NumberEnumWrapper {

@@ -428,3 +428,3 @@ /**

*/
export declare type StringEnumWrapper<T extends EnumLike<string, keyof T> = any> = EnumWrapper<string, any>;
export declare type StringEnumWrapper<T extends EnumLike<string, keyof T> = any> = EnumWrapper<string, T>;
export declare namespace StringEnumWrapper {

@@ -451,3 +451,3 @@ /**

*/
export declare type MixedEnumWrapper<T extends EnumLike<number | string, keyof T> = any> = EnumWrapper<number | string, any>;
export declare type MixedEnumWrapper<T extends EnumLike<number | string, keyof T> = any> = EnumWrapper<number | string, T>;
export declare namespace MixedEnumWrapper {

@@ -454,0 +454,0 @@ /**

{
"name": "ts-enum-util",
"version": "2.0.4",
"version": "2.0.5",
"description": "TypeScript Enum Utilities",

@@ -5,0 +5,0 @@ "repository": {

@@ -120,3 +120,3 @@ /**

*/
public static getCachedInstance(enumObj: any): EnumWrapper {
public static getCachedInstance(enumObj: object): EnumWrapper {
let result = EnumWrapper.instancesCache.get(enumObj);

@@ -793,3 +793,3 @@

T extends EnumLike<number, keyof T> = any
> = EnumWrapper<number, any>;
> = EnumWrapper<number, T>;

@@ -825,3 +825,3 @@ export namespace NumberEnumWrapper {

T extends EnumLike<string, keyof T> = any
> = EnumWrapper<string, any>;
> = EnumWrapper<string, T>;

@@ -858,3 +858,3 @@ export namespace StringEnumWrapper {

T extends EnumLike<number | string, keyof T> = any
> = EnumWrapper<number | string, any>;
> = EnumWrapper<number | string, T>;

@@ -861,0 +861,0 @@ export namespace MixedEnumWrapper {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc