mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
refactor(all): make all method return a promise
This commit is contained in:
@ -31,7 +31,7 @@ export class PickerController implements OverlayController {
|
||||
* Get the most recently opened picker overlay.
|
||||
*/
|
||||
@Method()
|
||||
getTop(): HTMLIonPickerElement {
|
||||
async getTop(): Promise<HTMLIonPickerElement> {
|
||||
return getOverlay(this.doc, 'ion-picker') as HTMLIonPickerElement;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user