Import Assertions for re-export statement is not allowed #12248
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: parser
Spec: Import Attributes
Bug Report
Current behavior
Syntax error
Unexpected token, expected ";" (1:31)
is thrown.REPL
Input Code
Expected behavior
No syntax error is thrown.
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
Environment
Possible Solution
Additional context
According to the proposal,
assert
forexport
is allowed. https://github.com/tc39/proposal-import-assertions#re-export-statementsThe text was updated successfully, but these errors were encountered: