File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export function alert(message: string | number | boolean): Promise<void>;
61
61
* The alert() method displays an alert box with a specified message.
62
62
* @param options Specifies the options for the alert box.
63
63
*/
64
- export function alert ( options : AlertOptions & MDCAlertControlerOptions ) : Promise < void > ;
64
+ export function alert ( options : AlertOptions & MDCAlertControlerOptions ) : Promise < any > ;
65
65
66
66
/**
67
67
* The confirm() method displays a dialog box with a specified message.
Original file line number Diff line number Diff line change @@ -271,8 +271,8 @@ function createAlertController(options: DialogOptions & MDCAlertControlerOptions
271
271
return alertController ;
272
272
}
273
273
274
- export function alert ( arg : any ) : Promise < void > {
275
- return new Promise < void > ( ( resolve , reject ) => {
274
+ export function alert ( arg : any ) : Promise < any > {
275
+ return new Promise < any > ( ( resolve , reject ) => {
276
276
try {
277
277
const defaultOptions = {
278
278
// title: ALERT,
You can’t perform that action at this time.
0 commit comments