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
We get completions for "target" that include "ES2023".
If we accept that, we get the following error:
"error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'esnext'."
π Expected behavior
No suggestion of "ES2023".
Additional information about the issue
The text was updated successfully, but these errors were encountered:
@rbuckton suggested we should add ES2023 so that we can include ES2023 as a lib if your target is ES2023, but @RyanCavanaughsaid we shouldn't have it as a target, so I just wanted to double check.
If we do want to remove it, we need to remove it here.
I think I was wrong in that one and we should just have targets for every named spec version; even if in practice a few are identical syntaxwise for some stuff, it's way less confusing.
π Search Terms
es2023
π Version & Regression Information
β― Playground Link
No response
π» Code
π Actual behavior
We get completions for "target" that include "ES2023".
If we accept that, we get the following error:
"error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'esnext'."
π Expected behavior
No suggestion of "ES2023".
Additional information about the issue
The text was updated successfully, but these errors were encountered: