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
And then the tool traverse this and removes all dynamic imports of local files (it happens here) and resolves the name on the right with its registered "local" name. The issue is that the tool doesn't consider any names declared in namespaces thus fn stays fn, not being renamed to something fn$1 or so.
Bug report
Input code
Actual output
Notice that the type of
var fn
refers tovar fn
and not tofunction fn
Expected output
Maybe this?
or this
Additional context
This also happens in rollup-plugin-dts
The text was updated successfully, but these errors were encountered: