eng - don't use TPromise in dialogs api

This commit is contained in:
Johannes Rieken
2017-12-11 14:44:00 +01:00
parent 73ebe0df86
commit 7db472bacf
2 changed files with 8 additions and 9 deletions

View File

@@ -144,8 +144,8 @@ export interface MainThreadDialogSaveOptions {
}
export interface MainThreadDiaglogsShape extends IDisposable {
$showOpenDialog(options: MainThreadDialogOpenOptions): TPromise<string[]>;
$showSaveDialog(options: MainThreadDialogSaveOptions): TPromise<string>;
$showOpenDialog(options: MainThreadDialogOpenOptions): Thenable<string[]>;
$showSaveDialog(options: MainThreadDialogSaveOptions): Thenable<string>;
}
export interface MainThreadDecorationsShape extends IDisposable {