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

11 lines
240 B
Plaintext

=== tests/cases/conformance/externalModules/topLevelAwaitErrors.3.ts ===
export {};
// reparse binding pattern as await should fail
var {await} = {await:1};
>await : number
>{await:1} : { await: number; }
>await : number
>1 : 1