* Reparse top-level 'await' in modules * Add more tests and additional diagnostics * One more incremental parse test
8 lines
172 B
TypeScript
8 lines
172 B
TypeScript
// @target: esnext
|
|
// @module: esnext
|
|
|
|
declare namespace foo { const await: any; }
|
|
|
|
// await allowed in import=namespace when not a module
|
|
import await = foo.await;
|