Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@remcohaszing
Copy link
Contributor

A target of es6 is equivalent to es2015. A target of es2017 adds support for async / await. A target of es2018 adds support for for await...of.

Increasing the target means these syntaxes are no longer down-leveled. This increases readability and debuggability of the compiled code and potentially performance.

All modern browsers support this. https://caniuse.com/?search=await

A target of es6 is equivalent to es2015. A target of es2017 adds support
for async / await. A target of es2018 adds support for `for await...of`.

Increasing the target means these syntaxes are no longer down-leveled.
This increases readability and debuggability of the compiled code and
potentially performance.

All modern browsers support this. https://caniuse.com/?search=await
@hediet hediet enabled auto-merge November 24, 2023 10:34
@hediet hediet merged commit 93fc559 into microsoft:main Nov 24, 2023
@remcohaszing remcohaszing deleted the increase-monaco-ts-target branch November 24, 2023 11:00
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

debt Code quality issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.