mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-14 12:30:47 +08:00
mdDialog.hide should return Promise instead of void
This commit is contained in:
1 parent
7136728255
commit
1386ebca37
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -83,7 +83,7 @@ declare module angular.material {
|
||||
show(dialog: IDialogOptions|IAlertDialog|IConfirmDialog): angular.IPromise<any>;
|
||||
confirm(): IConfirmDialog;
|
||||
alert(): IAlertDialog;
|
||||
hide(response?: any): void;
|
||||
hide(response?: any): angular.IPromise<any>;
|
||||
cancel(response?: any): void;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user