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 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 a class is followed by a TypeScript namespace, the decorator transform places variables generated for the class in the namespace.
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.105&code=H4sIAAAAAAAAA0vOSSwuVnBWqOZSUIgOrsxNys%2FRyyxJLUosyS%2BK1dBUqK7lquXiykvMTS0uSExOVfALBitNrSjILypRSCvNSy7JzM9TSIMpBQBdEy1bUAAAAA%3D%3D&config=H4sIAAAAAAAAA1WNwQrCQAxE7%2F2KJWeFst78B6%2FewzbKim6WJAVL6b%2BbrbToLTNvZjJ3IcBDE5zD7KeLiqIku3ZHp2L4dgdsqqRJcjU4bHSgxILGop4wGWkFy5eDCRa9sbx%2BB%2FfKlUQzlzYd%2BxiP%2FQn%2B2yh3soZJW6DRlUHWCw%2Fjk7afS%2FcBWAWB98oAAAA%3D
SWC Info output
No response
Expected behavior
_computedKey
is declared in the same scope asC
.Actual behavior
_computedKey
is declared in the namespace.Version
1.3.105
Additional context
No response
The text was updated successfully, but these errors were encountered: