UNPKG

508 BTypeScriptView Raw
1import Enumeration, { IEnumeration } from "./enumeration";
2export interface IEnumerationSet {
3 name: string;
4 values: IEnumeration[];
5}
6export default class Enumerationset implements IEnumerationSet {
7 name: string;
8 values: Enumeration[];
9 private valueLookup;
10 private setupLookup;
11 validateTheValue(value: string): boolean;
12 getLabel(value: string): string | undefined;
13 getRange(value: string): [number, number] | undefined;
14 constructor(enumerationSet: IEnumerationSet);
15}