提交 8d67f9b1 编写于 作者: S Sandeep Somavarapu

#79454 Fix warnings

上级 94c6d048
......@@ -69,7 +69,9 @@ export class CustomTreeViewPanel extends ViewletPanel {
}
renderBody(container: HTMLElement): void {
this.treeView.show(container);
if (this.treeView instanceof CustomTreeView) {
this.treeView.show(container);
}
}
layoutBody(height: number, width: number): void {
......
......@@ -334,8 +334,6 @@ export interface ITreeView extends IDisposable {
layout(height: number, width: number): void;
show(container: HTMLElement): void;
getOptimalWidth(): number;
reveal(item: ITreeItem): Promise<void>;
......
......@@ -789,7 +789,7 @@ class KeybindingItemRenderer implements IListRenderer<IKeybindingItemEntry, Keyb
get templateId(): string { return KEYBINDING_ENTRY_TEMPLATE_ID; }
constructor(
private keybindingsEditor: IKeybindingsEditor,
private keybindingsEditor: KeybindingsEditor,
private instantiationService: IInstantiationService
) { }
......
......@@ -55,7 +55,6 @@ export interface IKeybindingsEditor extends IEditor {
focusKeybindings(): void;
recordSearchKeys(): void;
toggleSortByPrecedence(): void;
layoutColumns(columns: HTMLElement[]): void;
selectKeybinding(keybindingEntry: IKeybindingItemEntry): void;
defineKeybinding(keybindingEntry: IKeybindingItemEntry): Promise<void>;
defineWhenExpression(keybindingEntry: IKeybindingItemEntry): void;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册