Problem/Feature Description
In the Monaco editor configuration samples/examples, the getWorkerUrl function currently uses the traditional ES5 function expression syntax.
Proposed Solution
Update the getWorkerUrl definition in the documentation/example snippet to use modern ES6+ arrow function syntax ((moduleId, label) => './editorWebWorkerMain.bundle.js') for improved readability and modern JavaScript/TypeScript standards.
Problem/Feature Description
In the Monaco editor configuration samples/examples, the
getWorkerUrlfunction currently uses the traditional ES5 function expression syntax.Proposed Solution
Update the
getWorkerUrldefinition in the documentation/example snippet to use modern ES6+ arrow function syntax ((moduleId, label) => './editorWebWorkerMain.bundle.js') for improved readability and modern JavaScript/TypeScript standards.