Skip to content
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

es2022: lacking support for arbitrary module namespace identifier names #334

Closed
laino opened this issue Sep 14, 2024 · 1 comment
Closed

Comments

@laino
Copy link

laino commented Sep 14, 2024

Bug report

Input code

export { variable as 'some-identifier' };

Expected output

export { variable as 'some-identifier' };

Actual output

// syntax error
export { variable as some-identifier };

Additional context

Valid syntax in ES2022 and supported by TypeScript. You have to set "module": "es2022" to use it.

@timocov
Copy link
Owner

timocov commented Sep 15, 2024

Duplicate of #326

@timocov timocov marked this as a duplicate of #326 Sep 15, 2024
@timocov timocov closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants