提交 4e88082b 编写于 作者: M Matt Bierner

Strict null check simplefindWidget

上级 b9a01861
......@@ -302,6 +302,7 @@
"./vs/editor/contrib/find/findWidget.ts",
"./vs/editor/contrib/find/replaceAllCommand.ts",
"./vs/editor/contrib/find/replacePattern.ts",
"./vs/editor/contrib/find/simpleFindWidget.ts",
"./vs/editor/contrib/folding/folding.ts",
"./vs/editor/contrib/folding/foldingDecorations.ts",
"./vs/editor/contrib/folding/foldingModel.ts",
......
......@@ -26,7 +26,7 @@ const NLS_CLOSE_BTN_LABEL = nls.localize('label.closeButton', "Close");
export abstract class SimpleFindWidget extends Widget {
private _findInput: FindInput;
private _domNode: HTMLElement;
private _domNode?: HTMLElement;
private _innerDomNode: HTMLElement;
private _isVisible: boolean = false;
private _focusTracker: dom.IFocusTracker;
......@@ -186,7 +186,7 @@ export abstract class SimpleFindWidget extends Widget {
}
}
public getDomNode(): HTMLElement {
public getDomNode() {
return this._domNode;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册