You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
In the same vein as #1746, #2633, and #4100
The type declarations omit
"esnext"
swc/node-swc/src/types.ts
Lines 676 to 686 in c223113
However, it is supported by swc:
https://play.swc.rs/?version=1.3.32&code=H4sIAAAAAAAAA8vMLcgvKlFIy89XsFUoSi0szSxK1VAHctU1rXm5kvPziktgwkAFhkbGQNFEXi5errT8Ig2IdKJCfppCfklGapGmQjUvlwIQ8HLVAgAbqPJ%2FWQAAAA%3D%3D&config=H4sIAAAAAAAAA0WNOw6EMAxE7%2BKaegvuwCGirEFZ5SePkYii3J0EZUVnzzw%2FV%2FrB0lopGwHLmFCimotW0pIZVlxWWkjRo914cOuLkYO1I4zI16h9SuAJLBRcdHsZMptCFgbeysTD%2F8nWXSF9zxHU59%2Fj%2FFB7HfPOYZugysntBp32lHq4AAAA
I also double-checked that swc logs it as a valid option in this error message:
Input code
No response
Config
No response
Playground link
https://play.swc.rs/?version=1.3.32&code=H4sIAAAAAAAAA8vMLcgvKlFIy89XsFUoSi0szSxK1VAHctU1rXm5kvPziktgwkAFhkbGQNFEXi5errT8Ig2IdKJCfppCfklGapGmQjUvlwIQ8HLVAgAbqPJ%2FWQAAAA%3D%3D&config=H4sIAAAAAAAAA0WNOw6EMAxE7%2BKaegvuwCGirEFZ5SePkYii3J0EZUVnzzw%2FV%2FrB0lopGwHLmFCimotW0pIZVlxWWkjRo914cOuLkYO1I4zI16h9SuAJLBRcdHsZMptCFgbeysTD%2F8nWXSF9zxHU59%2Fj%2FFB7HfPOYZugysntBp32lHq4AAAA
Expected behavior
TypeScript types declare
"esnext"
as a validJscTarget
value.Actual behavior
No response
Version
1.3.32
Additional context
No response
The text was updated successfully, but these errors were encountered: