mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
7 lines
175 B
Plaintext
7 lines
175 B
Plaintext
|
error: 'import', and 'export' cannot be used outside of module code
|
||
|
--> $DIR/tests/test262-parser/fail/af366e0bf7f97bec.js:1:1
|
||
|
|
|
||
|
1 | import { enum } from 'foo'
|
||
|
| ^^^^^^
|
||
|
|