-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Make tsc --init generate default target to ES6 or higher #39308
Comments
Any plans for the team to implement this change? It's absurd |
Can you clarify what's absurd? Just calling something names doesn't help us understand what's bad about it. |
As an example: "Typescript includes the
In 2024, and indeed 2023, we should not default to using helpers, or solutions like this, when native functionality is included with every modern browser. Using modern standards and not old fixes is good for readability, correctness, robustness of code, etc. |
Search Terms
tsc --init default target ES5 ES6
Suggestion
When running
tsc --init
, let the tsconfig hases6
or higher target.Use Cases
It's not common to have to use es5 nowadays
Examples
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: