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
Hmm, that seems to have introduced a new issue where it is declaring an internal namespace and potentially putting some classes in it that should be at the top level. With my odd setup, if I imported the majority of my library (into specific file A) one way the internal namespace had the internal library names of the contents (and was also trying to import from an external module, which is always an error in internal namespaces), and imported another way the namespace was present but empty and the contents of that specific file A were trying to reference the namespace.
When I get a chance I'll update my example project with a minimum repro and open a new issue for that, as it seems to be potentially bigger than just name conflicts.
Example project: https://github.com/andrewstart/rollup-ts-bug
The .d.ts output is incorrect in this specific situation:
A
from an external module.A
.A
from that same external module.In this situation, the
A
reference for the third module is instead a reference to the internally renamedA
module.The text was updated successfully, but these errors were encountered: