Repository navigation
Add target: es2022Β #44571
Description
Activity
- addedCommittedThe team has roadmapped this issueThe team has roadmapped this issueSuggestionAn idea for TypeScriptAn idea for TypeScriptHelp WantedYou can do thisYou can do this
on Jun 15, 2021 "Use Cases" ==> "Whatever" :D :D :D Maybe just remove section that is not needed/used...
Reacted by Steven and Etienne PASSOTReacted by Kagami Sascha RosylightWe would prefer to add
ES2022as a target at a later time, once the ES standard implementation is completed or unlikely to change.
The reason is that if we addES2022as a target now, we would need to implement a transformer for the target, but the proposals' implementations may still change and this would affect the transformer's implementation.Kagami Sascha Rosylight (@saschanaz)
If there's a specific problem you have related toES2022, e.g. adding something tolib.esnext.d.ts, you could create another issue just for that.saschanaz commented
on Jul 7, 2021 ContributorAuthorMore actionsonce the ES standard implementation is completed or unlikely to change.
I intended to cover only finished proposals in stage 4, and thus it shouldn't be a significant issue here. (AFAIK changing behavior of stage 4 proposals in any major way will break web compatibility and thus shouldn't occur.)
- addedRevisitAn issue worth coming back toAn issue worth coming back toand removedHelp WantedYou can do thisYou can do this
on Jul 7, 2021
Suggestion
π Search Terms
es2022
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
There are now some accepted proposals targeting ES2022.
π Motivating Example
Class fields, RegExp match indices, top level await
π» Use Cases
Whatever.