TypeScript/tests/baselines/reference/topLevelAwaitErrors.10(module=esnext).js
Kagami Sascha Rosylight 2161e1852f
Add module: es2022 (#44656)
Closes #44653
2021-09-29 17:44:57 -07:00

16 lines
338 B
TypeScript

//// [tests/cases/conformance/externalModules/topLevelAwaitErrors.10.ts] ////
//// [index.ts]
// await disallowed in alias of named import
import { await as await } from "./other";
//// [other.ts]
declare const _await: any;
export { _await as await };
//// [other.js]
export { _await as await };
//// [index.js]
export {};