mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
7 lines
177 B
Plaintext
7 lines
177 B
Plaintext
|
error: 'import', and 'export' cannot be used outside of module code
|
||
|
--> $DIR/tests/test262-parser/fail/302a0dfffc3edf37.js:1:1
|
||
|
|
|
||
|
1 | import * as class from 'foo'
|
||
|
| ^^^^^^
|
||
|
|