swc/ecmascript/parser/tests/test262-error-references/fail/af366e0bf7f97bec.js.stderr

7 lines
175 B
Plaintext
Raw Normal View History

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'
| ^^^^^^