Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Jan 30, 2019
1 parent 823e747 commit 10c3fcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class TypeScriptCompletionItemProvider implements vscode.CompletionItemProvider
};

const response = await this.client.interruptGetErr(() => this.client.execute('completionEntryDetails', args, token));
if (response.type !== 'response' || !response.body) {
if (response.type !== 'response' || !response.body || !response.body.length) {
return item;
}

Expand Down

0 comments on commit 10c3fcb

Please sign in to comment.