UNPKG

@dotup/dotup-ts-types

Version:
8 lines (7 loc) 284 B
export declare class EnumTools { static getNamesAndValues<T>(e: any): [string, T][]; static getNames(e: any): string[]; static getName<T>(e: any, value: T): string | undefined; static getValue<T>(e: T, key: string): any; static getValues<T>(e: any): T[]; }