This PR allows to make ion-datetime-picker AOT compatible using ngc to generate metadata.json files.
I updated packages to last ionic version.
The picker directive was generating some AOT error. The .present() method requires a NavOptions param, not DatetimePickerAlertOptions. I'm not really sure what should be done there: pickerOptions are already provided when the picker is created, not sure why .present() also needs them.
This PR allows to make ion-datetime-picker AOT compatible using ngc to generate metadata.json files.
I updated packages to last ionic version.
The picker directive was generating some AOT error. The
.present()
method requires a NavOptions param, not DatetimePickerAlertOptions. I'm not really sure what should be done there: pickerOptions are already provided when the picker is created, not sure why.present()
also needs them.