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
x the name `default` is exported multiple times
,-[input.ts:3:5]
3 |export default Component;: ^^^^^^^^^^^^|^^^^^^^^^^^^
:`-- previous exported here 4 | } 5 | 6 |declare module 'b' { 7 | const Component: any; 8 |export default Component;: ^^^^^^^^^^^^|^^^^^^^^^^^^:`-- exported more than once`----Error: > Exported identifiers must be unique
Version
1.2.222
Additional context
No response
The text was updated successfully, but these errors were encountered:
MarvelSQ
changed the title
the name default is exported multiple times in global declaration filethe name **default** is exported multiple times in global declaration file
Aug 2, 2022
MarvelSQ
changed the title
the name **default** is exported multiple times in global declaration filethe name default is exported multiple times in global declaration file
Aug 2, 2022
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
in global declaration file, where declare multiple modules
Input code
Config
Playground link
https://play.swc.rs/?version=1.2.222&code=H4sIAAAAAAAAA0tJTc5JLEpVyM1PKc1JVVBPVFeo5lIAguT8vOISBef83IL8vNS8EiuFxLxKa7BMakVBflGJQkpqWmJpDpISa65aLq4UNPOSKDIPADGKN8ueAAAA&config=H4sIAAAAAAAAA0WNSwrDMAxE76J1ts0id%2BghjKsEF%2F%2FQKBBjfPfawSU7aebpqdIXlrZK2QhYxoQS1Vy0kZbMsOKy0kKKHu3Gg1tfjBysHWG8eudTAs92oeCi28sw2RSyMPBUJh7%2BT7YuCulzjqDez27hSu1xzDuH9wRVTm4%2FOkwQUrUAAAA%3D
Expected behavior
no error report
Actual behavior
Version
1.2.222
Additional context
No response
The text was updated successfully, but these errors were encountered: