New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript export default erased in presence of namespace #10033
Comments
Hey @Wolvereness! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
This also fixes enum not adding the respective declaration to the scope during the typescript visitation. Rewrites: 2080042 babel#9944 a6392bd babel#10019
Bug Report
Current Behavior
The presence of a
declare namespace
where the name is shared erases theexport default
.Input Code
Expected behavior/code
Babel Configuration (.babelrc, package.json, cli command)
Environment
cli
fixturesPossible Solution
Same solution.
Independently: #10034
Required for: #9785
Additional context/Screenshots
Introduced in #10019
The text was updated successfully, but these errors were encountered: