2161e1852f
Closes #44653
11 lines
264 B
TypeScript
11 lines
264 B
TypeScript
//// [topLevelAwait.2.ts]
|
|
declare namespace foo { const await: any; }
|
|
|
|
// await allowed in import=namespace when not a module
|
|
import await = foo.await;
|
|
|
|
|
|
//// [topLevelAwait.2.js]
|
|
// await allowed in import=namespace when not a module
|
|
var await = foo.await;
|