mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +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;
|