You'll need to add a @Component decorator to that base class (which should probably also be declared abstract).
This is the bare minimum you can get away with in Angular 9:
import { Component } from '@angular/core'
@Component({
  template: ''
})
export abstract class BaseComponent {
    @Input() teamName: string; 

 
    
Top comments (0)