mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
feat(all): strong typed ComponentProps
This commit is contained in:
@ -14,7 +14,7 @@ export class AlertController implements OverlayController {
|
||||
* Create an alert overlay with alert options
|
||||
*/
|
||||
@Method()
|
||||
create(opts?: AlertOptions): Promise<HTMLIonAlertElement> {
|
||||
create(opts: AlertOptions): Promise<HTMLIonAlertElement> {
|
||||
return createOverlay(this.doc.createElement('ion-alert'), opts);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user