2161e1852f
Closes #44653
12 lines
280 B
Plaintext
12 lines
280 B
Plaintext
=== tests/cases/conformance/externalModules/topLevelAwait.2.ts ===
|
|
declare namespace foo { const await: any; }
|
|
>foo : typeof foo
|
|
>await : any
|
|
|
|
// await allowed in import=namespace when not a module
|
|
import await = foo.await;
|
|
>await : any
|
|
>foo : typeof foo
|
|
>await : any
|
|
|