mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +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;
|