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

14 lines
445 B
Plaintext

=== tests/cases/conformance/externalModules/index.ts ===
// await disallowed in namespace import
import * as await from "./other";
>await : Symbol(await, Decl(index.ts, 1, 6))
=== tests/cases/conformance/externalModules/other.ts ===
declare const _await: any;
>_await : Symbol(_await, Decl(other.ts, 0, 13))
export { _await as await };
>_await : Symbol(_await, Decl(other.ts, 0, 13))
>await : Symbol(await, Decl(other.ts, 1, 8))