Skip to content

Commit 866043a

Browse files
committed
chore(style guide): constructor order
1 parent 70e4b1c commit 866043a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/app.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ import { APP_CONFIG, IAppConfig } from './app.config';
1010
})
1111

1212
export class AppComponent {
13+
title: string;
14+
1315
constructor(@Inject(APP_CONFIG) private appConfig: IAppConfig) {
16+
this.title = this.appConfig.title;
1417
}
15-
16-
title = this.appConfig.title;
1718
}

0 commit comments

Comments
 (0)