-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Description
I believe this is the main change: 0a97663
I believe the goal was to be able to rename x
to y
like this:
const x = 1;
export { x };
const y = 1;
export { y as x };
Since editors pre-dating this change don't know that prefix and suffix text might accompany the rename result, they don't apply it, resulting in
const y = 1;
export { y };
which breaks any importing file.
We probably need a UserPreference
to make this behavior opt-in.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScript