mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
feat(all): strong typed ComponentProps
This commit is contained in:
@ -15,7 +15,7 @@ export class PickerController implements OverlayController {
|
||||
* Create a picker overlay with picker options.
|
||||
*/
|
||||
@Method()
|
||||
create(opts?: PickerOptions): Promise<HTMLIonPickerElement> {
|
||||
create(opts: PickerOptions): Promise<HTMLIonPickerElement> {
|
||||
return createOverlay(this.doc.createElement('ion-picker'), opts);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user