microsoft / microsoft/monaco-editor
[Feature Request] Support ES2023
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Context
- This issue is not a bug report. (please use a different template for reporting a bug)
- This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
Currently, monaco.languages.typescript.ScriptTarget goes up to ES2020. I did managed to get ES2021 working, by setting ScriptTarget = ESNext in the compiler options and set the lib to use es2021, but when I tried to use es2022 or es2023 in the lib, Monaco fails to load any ES types. Version I tested with is 0.50.0.
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing monaco.languages.typescript.ScriptTarget and the compiler options for lib, then compare the ES2020, es2021, es2022, and es2023 behavior reported against version 0.50.0. Done means ES2023 can be selected and its standard library types load without Monaco failing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- developer-experience, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100