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';
8
8
import { ILSPLogConsole } from '../../tokens' ;
9
9
10
10
import { CompletionLabIntegration } from './completion' ;
11
- import { LazyCompletionItem } from './item' ;
11
+ import { LazyCompletionItem , IExtendedCompletionItem } from './item' ;
12
12
13
13
export interface ICompletionData {
14
14
item : LazyCompletionItem ;
@@ -147,8 +147,8 @@ export class LSPCompletionRenderer
147
147
return li ;
148
148
}
149
149
150
- private _elideMark ( item : LazyCompletionItem , li : HTMLLIElement ) {
151
- if ( ! item ) {
150
+ private _elideMark ( item : IExtendedCompletionItem , li : HTMLLIElement ) {
151
+ if ( ! item || ! item . type ) {
152
152
return ;
153
153
}
154
154
const type = item . type . toLowerCase ( ) ;
You can’t perform that action at this time.
0 commit comments