oxc is transforming const enum the same as a regular enum
"Const enums can only use constant enum expressions and unlike regular enums they are completely removed during compilation. Const enum members are inlined at use sites. This is possible since const enums cannot have computed members."
typescript docs
Playgrounds
oxc is transforming
const enumthe same as a regularenum"Const enums can only use constant enum expressions and unlike regular enums they are completely removed during compilation. Const enum members are inlined at use sites. This is possible since const enums cannot have computed members."
Playgrounds
oxc
typescript