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
magic-akari
changed the title
The single statement containing the Enum/TypeScript namespace is not being transformed
The single statement containing the TS Enum is not being transformed
Sep 4, 2024
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
All code ASR that allow only one statement will encounter this issue.
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.7.23&code=H4sIAAAAAAAAA8tMU9AoKSpN1VRIzSvNVXDLz1eoVqi15uIqz8jMSVXQSEvMKYZJOiUWKVSD5NLyixQ0kvPziksUKhTy0xSiDWOhSiJAugGejZhSVAAAAA%3D%3D&config=H4sIAAAAAAAAA6vmUlBQyipOVrJSqAYygZyCxKLi1CI4HyhSXJlXklgBFFEqqSxILU4uyiwoUQJL1upA9JQkFqWnloBUpBYbGRgZgWTBckqZxb75KaU5qUC5kqLSVK5aAM10JExxAAAA
SWC Info output
No response
Expected behavior
enum and namespace should be transformed.
Actual behavior
No response
Version
1.7.23
Additional context
No response
The text was updated successfully, but these errors were encountered: