From 22336f0530e54488905a5251e32bdc58017c601f Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Wed, 27 Sep 2017 10:27:11 +0200 Subject: [PATCH] fix #35053, fix #35051 --- src/vs/vscode.d.ts | 4 ++-- src/vs/workbench/api/node/extHost.protocol.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index 528ac5cbe26..5a221ae1c9f 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -1543,7 +1543,7 @@ declare module 'vscode' { * } * ``` */ - filters: { [name: string]: string[] }; + filters?: { [name: string]: string[] }; } /** @@ -1569,7 +1569,7 @@ declare module 'vscode' { * } * ``` */ - filters: { [name: string]: string[] }; + filters?: { [name: string]: string[] }; } /** diff --git a/src/vs/workbench/api/node/extHost.protocol.ts b/src/vs/workbench/api/node/extHost.protocol.ts index 1a04c2f8dd0..90588da91f2 100644 --- a/src/vs/workbench/api/node/extHost.protocol.ts +++ b/src/vs/workbench/api/node/extHost.protocol.ts @@ -122,13 +122,13 @@ export interface MainThreadDialogOpenOptions { openFiles?: boolean; openFolders?: boolean; openMany?: boolean; - filters: { [name: string]: string[] }; + filters?: { [name: string]: string[] }; } export interface MainThreadDialogSaveOptions { defaultUri?: URI; saveLabel?: string; - filters: { [name: string]: string[] }; + filters?: { [name: string]: string[] }; } export interface MainThreadDiaglogsShape extends IDisposable { -- GitLab