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
debug('exportFromVariableDeclarator: unknown type of id %o',id.node.type);
But I can't understand the code, especially, what should happen to nested object/array destructuring. I think import and export should handle destructuring differently.
Environment
Description
a.ts:
b.ts:
main.ts
Output
b.ts is rewritten to:
export B is missing
I think it has something to do with here:
wyw-in-js/packages/transform/src/utils/collectExportsAndImports.ts
Lines 301 to 313 in 740e336
But I can't understand the code, especially, what should happen to nested object/array destructuring. I think import and export should handle destructuring differently.
Reproducible Demo
https://stackblitz.com/edit/wyw-export-star?file=src%2Fmain.ts
The text was updated successfully, but these errors were encountered: