TypeScript/tests/cases/conformance/externalModules/topLevelAwaitErrors.2.ts
Ron Buckton fe33e61823
Reparse top level 'await' in modules (#39084)
* Reparse top-level 'await' in modules

* Add more tests and additional diagnostics

* One more incremental parse test
2020-06-18 23:43:18 -07:00

8 lines
119 B
TypeScript

// @target: esnext
// @module: esnext
export {};
// reparse variable name as await should fail
var await = 1;