Common import/export refactorings are missing #19260
Labels
Domain: Refactorings
e.g. extract to constant or function, rename symbol
Fixed
A PR has been merged for this issue
Suggestion
An idea for TypeScript
Milestone
There are two scenarios that come up for me all the time that presently don't have refactoring support:
Commentary:
I think both of these refactorings would be helpful and be used frequently. 1 is important to me because I can't decide on the shape of a module's exports until its export surface area is complete, and I switch between the two frequently during development.
2 is important to me when a module's named exports grow and grow and on the import side and I finally reach a point where I would like to move to a namespace import to avoid having to name every single import. This transformation is very painful to do by hand.
The text was updated successfully, but these errors were encountered: