docs(nav-controller): add type to usage example (#11833)

This commit is contained in:
Daniel Sogl
2017-05-30 17:40:14 +02:00
committed by Brandy Carney
parent 7af93d23b8
commit 0624a77afe

View File

@ -92,7 +92,7 @@ import { ViewController } from './view-controller';
* }) * })
* export class MyApp { * export class MyApp {
* @ViewChild('myNav') nav: NavController * @ViewChild('myNav') nav: NavController
* public rootPage = TabsPage; * public rootPage: any = TabsPage;
* *
* // Wait for the components in MyApp's template to be initialized * // 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" * // In this case, we are waiting for the Nav with reference variable of "#myNav"