Closed
Description
π Search Terms
"maximum call stack size"
π Version & Regression Information
- This is a crash
- This changed between versions 5.4.5 and 5.5.2
β― Playground Link
No response
π» Code
Not sure which code causes the crash.
π Actual behavior
When compiling monaco-editor with TypeScript@5.5.2 or higher, it will result in a Maximum call stack size exceeded
.
- Open https://stackblitz.com/~/github.com/microsoft/monaco-editor or clone https://github.com/microsoft/monaco-editor locally
- Run
npm run build-monaco-editor
(this will work as it uses TypeScript@5.4.5) - Update TypeScript by running
npm install typescript@5.5.2
- Run
npm run build-monaco-editor
again (this will fail)
π Expected behavior
When compiling monaco-editor
with the latest TypeScript, I shouldn't be seeing a Maximum call stack size exceeded
.
Additional information about the issue
No response