babel-plugin-const-enum icon indicating copy to clipboard operation
babel-plugin-const-enum copied to clipboard

Transform TypeScript `const` enums

Results 4 babel-plugin-const-enum issues
Sort by recently updated
recently updated
newest added

Should allow string operations such as + (concatenation) but no interpolation. Concatenation is the only operator I am aware of. ``` const enum MyEnum = { A = 'a' +...

enhancement

https://github.com/babel/babel/issues/8741#issuecomment-470485894 Keep map of currently defined enums in state. If it exists, loop through members and add to previously defined `constObject`.

enhancement

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.16.0 to 7.23.2. Release notes Sourced from @​babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...

dependencies

i have code like the following -> ``` import {SOME_ENUM} from './enums' export MY_ENUM { A = SOME_ENUM B C } ``` this doesn't work and when i compile i...