/// // @filename: /dir/a.ts ////declare const p: Promise; ////await p; ////export {}; // @filename: /dir/tsconfig.json ////{ //// "compilerOptions": { //// "target": "es2017" //// } ////} verify.not.codeFixAvailable("fixTargetOption"); verify.codeFixAvailable("fixModuleOption"); // verify.codeFix({ // description: [ts.Diagnostics.Set_the_module_option_in_your_configuration_file_to_0.message, "esnext"], // index: 0, // newFileContent: { // "/dir/tsconfig.json": // `{ // "compilerOptions": { // "target": "es2017", // "module": "esnext", // } // }` // } // });