refactor(all): componentOnReady is part of the types

This commit is contained in:
Manu Mtz.-Almeida
2018-02-10 01:52:51 +01:00
parent b68e79ab3c
commit 255c3dd1ae
20 changed files with 56 additions and 60 deletions

View File

@ -31,7 +31,7 @@ export class PopoverController implements FrameworkDelegate {
dismiss(data?: any, role?: string, id?: number) {
const popoverController = document.querySelector('ion-popover-controller');
return (popoverController as any).componentOnReady().then(() => {
return popoverController.componentOnReady().then(() => {
return popoverController.dismiss(data, role, id);
});
}