swc/crates/swc_ecma_parser/tests/tsc/topLevelAwait.2.ts
2022-02-04 17:08:38 +09:00

8 lines
172 B
TypeScript

// @target: esnext
// @module: es2022,esnext
declare namespace foo { const await: any; }
// await allowed in import=namespace when not a module
import await = foo.await;