-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Domain: LS: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.FixedA PR has been merged for this issueA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
TypeScript Version: 2.7.0-dev.201xxxxx
Code
function foo() {
await/*1*/ bar();
}Expected behavior:
At 1, offers a code action that converts the innermost function to async:
async function foo() {
await bar();
}Actual behavior:
Error at 1 with no quick fix offered
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Domain: LS: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.FixedA PR has been merged for this issueA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript