///
// @target: es2015
////declare class Thenable { then(): void; }
////interface Foo {}
////type Bar = "a" | "b";
////
////async function f1(): number {}
////async function f2(): boolean {}
////async function f3(): string {}
////async function f4(): void {}
////async function f5(): null {}
////async function f6(): undefined {}
////async function f7(): any {}
////async function f8(): symbol {}
////
////async function f9(): Foo {}
////async function f10(): Bar {}
////async function f11(): PromiseLike {}
////async function f12(): PromiseLike {}
////async function f13(): Thenable {}
////
////async function f14(): string | symbol {}
verify.codeFixAll({
fixId: "fixReturnTypeInAsyncFunction",
fixAllDescription: ts.Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions.message,
newFileContent:
`declare class Thenable { then(): void; }
interface Foo {}
type Bar = "a" | "b";
async function f1(): Promise {}
async function f2(): Promise {}
async function f3(): Promise {}
async function f4(): Promise {}
async function f5(): Promise {}
async function f6(): Promise {}
async function f7(): Promise {}
async function f8(): Promise {}
async function f9(): Promise> {}
async function f10(): Promise {}
async function f11(): Promise {}
async function f12(): Promise {}
async function f13(): Promise {}
async function f14(): Promise {}`
});