async function foo(x: Promise<string>) {
x./**/
}
Go to the /**/ marker and request completions.
The proposal here is that all the completions for string should show up. When the user selects a string member, we should automatically await the value, so selecting toLowerCase changes the code to (await x).toLowerCase.
Go to the
/**/marker and request completions.The proposal here is that all the completions for
stringshould show up. When the user selects astringmember, we should automaticallyawaitthe value, so selectingtoLowerCasechanges the code to(await x).toLowerCase.