Fix a small type issue

The language server completion kind and monaco completion kind are
compatible by coincidence, not by definition.
This commit is contained in:
Remco Haszing 2021-11-19 16:21:07 +01:00
parent 545e6a6bc4
commit 5bb55b6e96
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C

View file

@ -140,7 +140,7 @@ function toRange(range: ls.Range): Range {
);
}
function toCompletionItemKind(kind: languages.CompletionItemKind): languages.CompletionItemKind {
function toCompletionItemKind(kind: ls.CompletionItemKind): languages.CompletionItemKind {
const mItemKind = languages.CompletionItemKind;
switch (kind) {