Searched refs:valuesById (Results 1 – 2 of 2) sorted by relevance
63 const formatter = this.getFormatter(value, enumType?.valuesById);74 valuesById: {[key: number]: string} | undefined,80 if (valuesById) return new EnumFormatter(valuesById);
209 constructor(private readonly valuesById: {[key: number]: string}) {} property in EnumFormatter213 if (typeof value === 'number' && this.valuesById[value]) {214 return this.valuesById[value];216 if (typeof value === 'bigint' && this.valuesById[Number(value)]) {217 return this.valuesById[Number(value)];