mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +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;
|