Skip to content

Commit 60f3c71

Browse files
committed
fix linter errors
1 parent e6adefa commit 60f3c71

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

angular/src/app/modules/application/example-components/tutorial.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
}

angular/src/app/modules/general/home/home.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Component } from '@angular/core';
22
import { environment } from '../../../../environments/environment';
33
import { 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

0 commit comments

Comments
 (0)