c0bdd12c4c
* add fixAwaitInSyncFunction code fix * Just insert the keyword * only one codefix * remove comment * Change explicit return type T to Promise<T> * Review changes * Change codefix message
12 lines
244 B
TypeScript
12 lines
244 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////const f = {
|
|
//// get a() {
|
|
//// return await Promise.resolve();
|
|
//// },
|
|
//// get a() {
|
|
//// await Promise.resolve();
|
|
//// },
|
|
////}
|
|
|
|
verify.not.codeFixAvailable();
|