File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/jupyterlab-lsp/src/features/completion Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { Signal } from '@lumino/signaling';
88import { ILSPLogConsole } from '../../tokens' ;
99
1010import { CompletionLabIntegration } from './completion' ;
11- import { LazyCompletionItem } from './item' ;
11+ import { LazyCompletionItem , IExtendedCompletionItem } from './item' ;
1212
1313export interface ICompletionData {
1414 item : LazyCompletionItem ;
@@ -147,8 +147,8 @@ export class LSPCompletionRenderer
147147 return li ;
148148 }
149149
150- private _elideMark ( item : LazyCompletionItem , li : HTMLLIElement ) {
151- if ( ! item ) {
150+ private _elideMark ( item : IExtendedCompletionItem , li : HTMLLIElement ) {
151+ if ( ! item || ! item . type ) {
152152 return ;
153153 }
154154 const type = item . type . toLowerCase ( ) ;
You can’t perform that action at this time.
0 commit comments