Ejects enums from all files specified by target.
target
Each enum is converted to the safer alternative. for example:
// before conversionenum YesNo { No, Yes,}// after conversionconst YesNo = { No: 0, Yes: 1,} as const;type YesNo = typeof YesNo[keyof typeof YesNo];
Target specification of the conversion.
Additional options for the conversion.
Generated using TypeDoc
Ejects enums from all files specified by
target.Each enum is converted to the safer alternative. for example: