提交 000cff9d 编写于 作者: M Matt Bierner

Explicitly note that activeParameter could be undefined

上级 b87445c0
......@@ -209,7 +209,7 @@ export class ParameterHintsWidget extends Disposable implements IContentWidget {
this.renderDisposeables.clear();
const activeParameter = signature.parameters[hints.activeParameter];
const activeParameter: modes.ParameterInformation | undefined = signature.parameters[hints.activeParameter];
if (activeParameter && activeParameter.documentation) {
const documentation = $('span.documentation');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册