swc/crates/swc_ecma_parser/tests/test262-error-references/fail/02a5ebb2378de234.js.swc-stderr
2022-11-29 09:47:56 +00:00

7 lines
182 B
Plaintext

x 'import', and 'export' cannot be used outside of module code
,-[$DIR/tests/test262-parser/fail/02a5ebb2378de234.js:1:1]
1 | import * as enum from 'foo'
: ^^^^^^
`----