From 6ebdd1aafb81b7b39610ddd51586ad7c27d6500f Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Wed, 22 Jun 2016 12:58:45 +0200 Subject: [PATCH] or types ftw --- src/vs/workbench/browser/parts/editor/titleControl.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/vs/workbench/browser/parts/editor/titleControl.ts b/src/vs/workbench/browser/parts/editor/titleControl.ts index 68be8227519..cebd0cbf77a 100644 --- a/src/vs/workbench/browser/parts/editor/titleControl.ts +++ b/src/vs/workbench/browser/parts/editor/titleControl.ts @@ -282,9 +282,7 @@ export abstract class TitleControl { return { primary, secondary }; } - private getEditorActionsForContext(context: BaseEditor): IToolbarActions; - private getEditorActionsForContext(context: IEditorInputActionContext): IToolbarActions; - private getEditorActionsForContext(context: any): IToolbarActions { + private getEditorActionsForContext(context: BaseEditor | IEditorInputActionContext): IToolbarActions { const primaryActions: IAction[] = []; const secondaryActions: IAction[] = []; -- GitLab