-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Update default target from ES3 to ES5 #51731
Update default target from ES3 to ES5 #51731
Conversation
Can the tests with source maps be updated instead of deleted? The |
@@ -1,7 +0,0 @@ | |||
tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck1.ts(1,15): error TS2494: Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these "ES3For" tests be modified to still test ES3, but explicitly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess maybe it doesn't matter if the next PR is "delete ES3"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should do a post-pass to clean up any irrelevant tests
Deleted tests are back with latest commit |
This staging work for the removal of ES3 as part of #51000. 99.9% of the changes are parked in one commit for reviewal ease.