mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
Removed redundant this.nav declaration (#6244)
`this.nav = nav` is already present due to the `public nav: NavController` declaration, having it in the constructor as well is redundant
This commit is contained in:
@ -10,7 +10,5 @@ import {Page, NavController} from 'ionic-angular';
|
||||
templateUrl: 'build/<%= directory %>/<%= fileName %>/<%= fileName %>.html',
|
||||
})
|
||||
export class <%= jsClassName %> {
|
||||
constructor(public nav: NavController) {
|
||||
this.nav = nav;
|
||||
}
|
||||
constructor(public nav: NavController) {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user