I´m trying to enable “Dismiss on page change” on LoadingController but I got this error when I set it up in options:
async presentLoading(message: string) {
const loading = await this.loadingCtrl.create({
message: message,
dismissOnPageChange: true
});
return await loading.present();
}
Argument of type ‘{ message: string; dismissOnPageChange: boolean; }’ is not assignable to parameter of type ‘LoadingOptions’.