You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like a bug in the TypeScript language itself. It does not have a specification, but such an enum cannot be handled with isolatedModules enabled.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
If I import an import file into another enumeration value, it will cause problems
Input code
import { ModalType } from '../modal/interface';
out
Playground link (or link to the minimal reproduction)
https://github.com/blockmood/swc-enum-import-error
SWC Info output
No response
Expected behavior
[4, 8, 3, 2, 1, 6, 7]
Actual behavior
[4, undefined, 3, 2, 1, undefined, undefined]
Version
1.3.93
Additional context
No response
The text was updated successfully, but these errors were encountered: