-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 tsconfig to target es2017 #15545
Conversation
"dom.iterable", | ||
"esnext" | ||
], | ||
"lib": ["dom", "dom.iterable", "esnext"], |
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.
The sample doesn't need a target?
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.
whoops this is a bug, I excluded 'samples' but this is sample-react
one sec will fix
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.
Yay, compiled files will look much better! Thanks!
@@ -1,6 +1,6 @@ | |||
{ | |||
"compilerOptions": { | |||
"target": "ES2015", | |||
"target": "ES2017", |
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.
This tsconfig for dev-tool is noEmit
, so does it even need a target (or module
for that matter)?
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.
It's noEmit
, but doesn't ts-node
still use tsconfig to decide how to compile it so Node can interpret?
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.
LGTM
Web ant94 2021 02 01 attempt 2 (Azure#15548) * Adds base for updating Microsoft.Web from version stable/2021-01-15 to version 2021-02-01 * Updates readme * Updates API version in new specs and examples * Changes for api-version 2012-02-01 (Azure#15545) * Address PR comments - AppServiceCertificateOrders (Azure#15561) * Changes for api-version 2012-02-01 * Address PR comments - AppServiceCertificatesOrder * Fix spelling issue * Fix summary+description for GET siteseal * Add reseller to custom words * Make DedicatedHostCount R/W (Azure#15580) Co-authored-by: Chris Chen <[email protected]>
This will greatly simplify TS codegen by avoiding the need to polyfill async/await. Async functions are supported all the way down to Node 8, so this isn't a compat concern except for IE11.
This PR leaves in place existing downlevel targets for storage, cosmos, and core. If this change is merged, I will track getting those packages updated in an issue.