Chore: some type fixes (#80094)

* some type fixes

* few more fixes

* more

* fix unit test
This commit is contained in:
Ashley Harrison
2024-01-09 10:00:00 +00:00
committed by GitHub
parent fb34916d1e
commit 68ba6cc67b
23 changed files with 90 additions and 133 deletions

View File

@@ -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 };
}