Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {Component, OnInit} from '@angular/core';
- import {ComponentAComponent} from '../component-a/component-a.component';
- import {AccountService} from '../account.service';
- import {AccountDto} from '../dto/AccountDto';
- @Component({
- selector: 'app-component-b',
- templateUrl: './component-b.component.html',
- styleUrls: ['./component-b.component.css']
- })
- export class ComponentBComponent extends ComponentAComponent<AccountDto> implements OnInit {
- constructor(protected service: AccountService) {
- super(service);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement