angular4-material-table icon indicating copy to clipboard operation
angular4-material-table copied to clipboard

ERROR TypeError: Class constructor DataSource cannot be invoked without 'new'

Open danyssespindola opened this issue 6 years ago • 5 comments
trafficstars

Hi, I installed the last version of this component and I implemented the example from link https://stackblitz.com/edit/angular-tj9f6y but dosen't work. I get this error: image

Any ideias why? My project uses Angular 8.1.0 and Angular Material 8.0.0.

Thanks

danyssespindola avatar Jul 16 '19 19:07 danyssespindola

The error went away when i set the target back to "es5" in tsconfig.json after the update to 8.1

moogmodular avatar Jul 23 '19 06:07 moogmodular

Any fixes planned for it?

nolafs avatar Sep 23 '19 11:09 nolafs

I experienced this today as well, the work around did work for me, but I am also wondering if this can be fixed.

harleyz avatar Jan 04 '20 01:01 harleyz

After upgrading to angular/cdk 10, see the same issue, is there any fix? Already tried everything including ES6 and ES2015.

asukkoor avatar Oct 04 '20 03:10 asukkoor

@ danyssespindola faceing the same issue for same example

hyouinKyouma avatar Jan 31 '21 06:01 hyouinKyouma