SHOW:
|
|
- or go back to the newest paste.
1 | import {Component, OnInit} from '@angular/core'; | |
2 | import {ComponentAComponent} from '../component-a/component-a.component'; | |
3 | import {AccountService} from '../account.service'; | |
4 | import {AccountDto} from '../dto/AccountDto'; | |
5 | ||
6 | @Component({ | |
7 | selector: 'app-component-b', | |
8 | templateUrl: './component-b.component.html', | |
9 | styleUrls: ['./component-b.component.css'] | |
10 | }) | |
11 | export class ComponentBComponent extends ComponentAComponent<AccountDto> implements OnInit { | |
12 | ||
13 | ||
14 | constructor(protected service: AccountService) { | |
15 | super(service); | |
16 | } | |
17 | } | |
18 |