diff --git a/src/navigation/nav-controller.ts b/src/navigation/nav-controller.ts index 80211f2187..ff2fe846d3 100644 --- a/src/navigation/nav-controller.ts +++ b/src/navigation/nav-controller.ts @@ -92,7 +92,7 @@ import { ViewController } from './view-controller'; * }) * export class MyApp { * @ViewChild('myNav') nav: NavController - * public rootPage = TabsPage; + * public rootPage: any = TabsPage; * * // Wait for the components in MyApp's template to be initialized * // In this case, we are waiting for the Nav with reference variable of "#myNav"