提交 31450e4f 编写于 作者: B Benjamin Pasero

fix strict-null

上级 01e36a24
......@@ -678,8 +678,8 @@ export class ActionBar extends Disposable implements IActionRunner {
focus(index?: number): void;
focus(selectFirst?: boolean): void;
focus(arg?: any): void {
let selectFirst: boolean;
let index: number;
let selectFirst: boolean = false;
let index: number | undefined = void 0;
if (arg === undefined) {
selectFirst = true;
} else if (typeof arg === 'number') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册