aaa4Alex

ComponentB.ts

Sep 18th, 2020
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
Add Comment
Please, Sign In to add comment