File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
application/example-components Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export class TutorialComponent implements OnInit {
4141 this . channelSelected = this . channels [ 0 ] ;
4242 }
4343
44- onSelected ( event : any ) : void {
44+ onSelected ( event : Channel ) : void {
4545 this . channelSelected = event ;
4646 }
4747
Original file line number Diff line number Diff line change 1+ export class Feature {
2+
3+ name : string ;
4+ description : string ;
5+ icon : string ;
6+ link : string ;
7+
8+ constructor ( ) {
9+ this . name = '' ;
10+ this . description = '' ;
11+ this . icon = '' ;
12+ this . link = '' ;
13+ }
14+ }
Original file line number Diff line number Diff line change 11import { Component } from '@angular/core' ;
22import { environment } from '../../../../environments/environment' ;
33import { SeoService } from '../../../services/seo/seo.service' ;
4+ import { Feature } from './feature' ;
45
56@Component ( {
67 selector : 'app-home' ,
@@ -14,7 +15,7 @@ export class HomeComponent {
1415 bootstrap = environment . application . bootstrap ;
1516 fontawesome = environment . application . fontawesome ;
1617
17- features : Array < any > ;
18+ features : Array < Feature > ;
1819
1920 constructor ( private seoService : SeoService ) {
2021
You can’t perform that action at this time.
0 commit comments