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 198714f commit 6bc59d2Copy full SHA for 6bc59d2
src/lib/monaco.ts
@@ -64,9 +64,8 @@ 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
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
68
- (self as any).MonacoEnvironment = {
69
- getWorker: (_: string, label: string) => {
+ MonacoEnvironment = {
+ getWorker: (_moduleId: string, label: string): Worker => {
70
if (label === 'yaml') {
71
return new YamlWorker();
72
}
0 commit comments