mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
8 lines
172 B
TypeScript
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;
|