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

15 lines
504 B
Plaintext

=== tests/cases/conformance/externalModules/index.ts ===
// await disallowed in alias of named import
import { await as await } from "./other";
>await : Symbol(await, Decl(other.ts, 1, 8))
>await : Symbol(await, Decl(index.ts, 1, 8))
=== 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))