1declare function print(arg:any):string; 2class A { 3 constructor() { 4 } 5 async g(x:number) { 6 return x * 2; 7 } 8 async f(x:number) { 9 await this.g(x * 2); 10 } 11} 12