add merge import declaration refactor#26575
Conversation
| @@ -0,0 +1,94 @@ | |||
| /* @internal */ | |||
| namespace ts.refactor.addOrRemoveBracesToArrowFunction { | |||
There was a problem hiding this comment.
That name should probably be amended
|
@uniqueiniquity @amcasey can you review the refactoring code please? We should also figure out better phrasing; I don't like "duplicate" here. |
|
uniqueiniquity
left a comment
There was a problem hiding this comment.
How about "redundant" instead of "duplicate"?
|
Would this be more useful as a code fix? It doesn't seem like it would be excessively noisy and the transformation is one-way so the suggestion wouldn't immediately be replaced by its opposite. |
|
Does this do something that Organize Imports doesn't do? If so, should Organize Imports be enhanced? |
Yes, but How could we provide the fix all action in this case?, maybe there are
IMO: the error should be fix by a explicit behavior |
|
⬆️ |
|
⬆️ again, |
|
seems already existed |
Fixes #26487