mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
7 lines
176 B
Plaintext
7 lines
176 B
Plaintext
|
error: 'import', and 'export' cannot be used outside of module code
|
||
|
--> $DIR/tests/test262-parser/fail/75412422951a6362.js:1:1
|
||
|
|
|
||
|
1 | import { class } from 'foo'
|
||
|
| ^^^^^^
|
||
|
|