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
Following #47572, once the default target has been raised to a new value, can TypeScript remove emit support for the no-longer-default old version in either that same major version or the next one?
Using the example schedule in that issue:
Remove es3 emit support for 5.0, making es5 the lowest supported emit target
Remove es5 emit support for 6.0, making es2015 the lowest supported emit target
...and so on
π Motivating Example
Supporting emit to low emit targets such as ES3/5 worsens:
Suggestion
π Search Terms
remove emit target es3 es5
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
Following #47572, once the default target has been raised to a new value, can TypeScript remove emit support for the no-longer-default old version in either that same major version or the next one?
Using the example schedule in that issue:
π Motivating Example
Supporting emit to low emit targets such as ES3/5 worsens:
src/compiler/transformers/es2015.ts
has >4k lines today (about 10% the size ofsrc/compiler/checker.ts
)π» Use Cases
It'd be nice to have a leaner TypeScript without the cost of supporting emit for syntax compatibility the vast majority of runtimes no longer need.
The text was updated successfully, but these errors were encountered: