My Enum:
[EnumAsInt]
public enum FileTypeEnum
{
CollectorTraining = 0,
BATCertification = 1,
DeviceCalibration = 2,
Invoice = 3,
DrugCOC = 4,
AlcoholCOC = 5,
}
is generated as strings instead of ints by “x typescript”…
export enum FileTypeEnum
{
CollectorTraining = 'CollectorTraining',
BATCertification = 'BATCertification',
DeviceCalibration = 'DeviceCalibration',
Invoice = 'Invoice',
DrugCOC = 'DrugCOC',
AlcoholCOC = 'AlcoholCOC',
}