Skip to content
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

Increase the target of Monaco from es6 to es2018 #192050

Merged
merged 2 commits into from
Nov 24, 2023

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 merged commit 93fc559 into microsoft:main Nov 24, 2023
6 checks passed
@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.

None yet

5 participants