New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect exported for export * as "string" ...
#200
Comments
Interesting syntax. BTW, how to use the exported "string" later in the code? |
|
Seems |
This syntax enabled by default in babel later babel/babel#13195
|
This syntax is added to ECMAScript by tc39/ecma262#2154 |
Usecase: WebAssembly/esm-integration#39 |
|
The spec means following?
|
ModuleExportName is either Identifier or string Literal |
// invalid
export { "string" as "string2" };
// valid
export { "string" as "string2" } from "mod"; |
Should be
Literal
instead.The text was updated successfully, but these errors were encountered: