mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +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/41bb6cfb5f18770c.js:1:1
|
||
|
|
|
||
|
1 | import { a as class } from 'foo'
|
||
|
| ^^^^^^
|
||
|
|