-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.Fix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Repro
function f(x: string | null) {
x!.[|toLowrCase|]();
x?.[|toLowrCase|]();
}
Instructions
- Go to the beginning of each range and request quick fixes.
Current Behavior
A quick fix is only available for the first range.
Expected Behavior
- A quick fix is available for each range.
- Applying the first quick fix results in the same corrected typo on each range.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.Fix AvailableA PR has been opened for this issueA PR has been opened for this issue