Skip to main content

@angular/cdk/cdk has no exported member 'DataSource'

@angular/cdk/cdk has no exported member 'DataSource'

Solution 1:

The import should be like below

import { CdkTableModule } from '@angular/cdk/table';

This means that the CdkTableModule  must be imported from @angular/cdk/table.


Comments