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>;
6161 * The alert() method displays an alert box with a specified message.
6262 * @param options Specifies the options for the alert box.
6363 */
64- export function alert ( options : AlertOptions & MDCAlertControlerOptions ) : Promise < void > ;
64+ export function alert ( options : AlertOptions & MDCAlertControlerOptions ) : Promise < any > ;
6565
6666/**
6767 * 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
271271 return alertController ;
272272}
273273
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 ) => {
276276 try {
277277 const defaultOptions = {
278278 // title: ALERT,
You can’t perform that action at this time.
0 commit comments