diff options
Diffstat (limited to 'src/app/heroes/heroes.component.ts')
-rw-r--r-- | src/app/heroes/heroes.component.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/app/heroes/heroes.component.ts b/src/app/heroes/heroes.component.ts deleted file mode 100644 index 0f72ae9..0000000 --- a/src/app/heroes/heroes.component.ts +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | import { Component, OnInit } from '@angular/core'; | ||
2 | import { Hero } from '../hero'; | ||
3 | |||
4 | @Component({ | ||
5 | selector: 'app-heroes', | ||
6 | templateUrl: './heroes.component.html', | ||
7 | styleUrls: ['./heroes.component.scss'] | ||
8 | }) | ||
9 | export class HeroesComponent implements OnInit { | ||
10 | hero: Hero ={ | ||
11 | id: 1, | ||
12 | name: 'Windstorm' | ||
13 | }; | ||
14 | |||
15 | constructor() { } | ||
16 | |||
17 | ngOnInit() { | ||
18 | } | ||
19 | |||
20 | } | ||