I am using Angular 8 and following example from here but

and the exception is

Please help me solve this.
Just make sure the dtOptions is declared as any.
You can find this comment on: https://l-lin.github.io/angular-datatables/#/extensions/buttons
// Must be declared as "any", not as "DataTables.Settings"
dtOptions: any = {};
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With