chore(): fixes compilation

This commit is contained in:
Manu Mtz.-Almeida
2016-12-02 19:02:02 +01:00
parent b1942593d2
commit db20af7498
3 changed files with 17 additions and 17 deletions

View File

@ -25,7 +25,7 @@ import { DomController } from '../util/dom-controller';
*/
export class NavControllerBase extends Ion implements NavController {
_children: NavController[] = [];
_children: any[] = [];
_ids: number = -1;
_init = false;
_isPortal: boolean;
@ -883,15 +883,15 @@ export class NavControllerBase extends Ion implements NavController {
this._app.viewWillUnload.emit(view);
}
getActiveChildNav(): NavController {
getActiveChildNav(): any {
return this._children[this._children.length - 1];
}
registerChildNav(nav: NavController) {
registerChildNav(nav: any) {
this._children.push(nav);
}
unregisterChildNav(nav: NavController) {
unregisterChildNav(nav: any) {
removeArrayItem(this._children, nav);
}