ReferentielDominanteComponent
export class ReferentielDominanteComponent extends TableBaseComponent
TableBaseComponent
<custom-table
CustomTableComponent
@ViewChild(MatSort, {static: true}) matSort!: MatSort;
ngOnInit(): void {
this.sub1 = this.matSort.sortChange.subscribe((sort: Sort)=> {
this.sort.emit(sort);
})
...
error
ReferentielDominanteComponent > should create
TypeError: Cannot read properties of undefined (reading 'sortChange')