We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc59d2 commit 736aac4Copy full SHA for 736aac4
src/lib/monaco.ts
@@ -64,8 +64,9 @@ const GITHUB_DARK_EDITOR_COLORS: monaco.editor.IColors = {
64
65
export const configureMonaco = () => {
66
// Route YAML language to monaco-yaml worker, everything else to the default editor worker
67
- MonacoEnvironment = {
68
- getWorker: (_moduleId: string, label: string): Worker => {
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ (self as any).MonacoEnvironment = {
69
+ getWorker: (_: string, label: string) => {
70
if (label === 'yaml') {
71
return new YamlWorker();
72
}
0 commit comments