mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: some type fixes (#80094)
* some type fixes * few more fixes * more * fix unit test
This commit is contained in:
@@ -409,12 +409,12 @@ function setup(value: string, offset: number, tagsV1?: string[], tagsV2?: Scope[
|
||||
EnumMember: 2,
|
||||
},
|
||||
},
|
||||
} as any;
|
||||
} as unknown as typeof monacoTypes;
|
||||
provider.editor = {
|
||||
getModel() {
|
||||
return model;
|
||||
},
|
||||
} as any;
|
||||
} as unknown as monacoTypes.editor.IStandaloneCodeEditor;
|
||||
|
||||
return { provider, model } as unknown as { provider: CompletionProvider; model: monacoTypes.editor.ITextModel };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user