Allow Extract Constant in expression-bodied arrow functions #18924
Labels
Domain: Refactorings
e.g. extract to constant or function, rename symbol
Experience Enhancement
Noncontroversial enhancements
Suggestion
An idea for TypeScript
Milestone
Expected:
We can detect this scenario, but
ChangeTracker
doesn't support overlapping transformations (i.e. substitutingnewLocal
into the expression and then putting the result into a return statement).The text was updated successfully, but these errors were encountered: