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