mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-20 23:11:05 +00:00
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:
parent
545e6a6bc4
commit
5bb55b6e96
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue