提交 663d46db 编写于 作者: J Joao Moreno

fixes #18161

上级 410ea3ed
......@@ -89,7 +89,7 @@ export class ParameterHintsModel extends Disposable {
provideSignatureHelp(this.editor.getModel(), this.editor.getPosition())
.then<SignatureHelp>(null, onUnexpectedError)
.then(result => {
if (!result || result.signatures.length === 0) {
if (!result || !result.signatures || result.signatures.length === 0) {
this.cancel();
this._onCancel.fire(void 0);
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册