mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +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;
|