I have a base class like this:
export class TableBase<TData>
implements OnInit, OnDestroy, AfterViewInit, OnDestroy
{
@ViewChildren(NgbdSortableHeader) headers: QueryList<NgbdSortableHeader>;
and a component like this:
export class MasterdataGlobalComponent extends TableBase<IMasterdataGlobalItem> {
@ViewChildren(NgbdSortableHeader) headers: QueryList<NgbdSortableHeader>;
It seems all other tests are working but I get this error which I assume is for the TData
object part:
NullInjectorError: R3InjectorError(Standalone[MasterdataGlobalComponent])[[object Object] -> [object Object] -> [object Object]]:
NullInjectorError: No provider for [object Object]!
What would be the best way to define/pass this object?