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

11 lines
338 B
Plaintext

=== tests/cases/conformance/externalModules/index.d.ts ===
// await keyword allowed as identifier in a declaration file
export {};
declare const await: any;
>await : Symbol(await, Decl(index.d.ts, 2, 13))
declare class C extends await {}
>C : Symbol(C, Decl(index.d.ts, 2, 25))
>await : Symbol(await, Decl(index.d.ts, 2, 13))