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
@dsherret I believe there should be 2 methods then, since this behavior is easy to miss remove and removeAndRemoveDeclarationIfEmpty, or removeWithDeclaration
Describe the bug
Version: 23.0.0
Calling
namedExport.remove()
on the last named export in a declaration inserts anexport * from 'module';
, instead of removing the declaration.To Reproduce
Input:
Output:
Expected behavior
An empty file (the export declaration should be simply removed).
The text was updated successfully, but these errors were encountered: