mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00

`this.nav = nav` is already present due to the `public nav: NavController` declaration, having it in the constructor as well is redundant
15 lines
389 B
TypeScript
15 lines
389 B
TypeScript
import {Page, NavController} from 'ionic-angular';
|
|
|
|
/*
|
|
Generated class for the <%= jsClassName %> page.
|
|
|
|
See http://ionicframework.com/docs/v2/components/#navigation for more info on
|
|
Ionic pages and navigation.
|
|
*/
|
|
@Page({
|
|
templateUrl: 'build/<%= directory %>/<%= fileName %>/<%= fileName %>.html',
|
|
})
|
|
export class <%= jsClassName %> {
|
|
constructor(public nav: NavController) {}
|
|
}
|