Make open and save dialog options optional

Fixes #101426
This commit is contained in:
Alex Ross
2020-07-08 13:46:10 +02:00
parent 15c5d143b0
commit fda4c35b27
4 changed files with 21 additions and 21 deletions

View File

@@ -201,8 +201,8 @@ export interface MainThreadDialogSaveOptions {
}
export interface MainThreadDiaglogsShape extends IDisposable {
$showOpenDialog(options: MainThreadDialogOpenOptions): Promise<UriComponents[] | undefined>;
$showSaveDialog(options: MainThreadDialogSaveOptions): Promise<UriComponents | undefined>;
$showOpenDialog(options?: MainThreadDialogOpenOptions): Promise<UriComponents[] | undefined>;
$showSaveDialog(options?: MainThreadDialogSaveOptions): Promise<UriComponents | undefined>;
}
export interface MainThreadDecorationsShape extends IDisposable {