I have upgraded my Angular project from 8 to 10 but while compiling I am getting the following error.
ERROR in node_modules/ngx-loading/lib/ngx-loading.module.d.ts:4:55 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).
4 static forRoot(loadingConfig: INgxLoadingConfig): ModuleWithProviders;
~~~~~~~~~~~~~~~~~~~
src/app/export/export.component.ts:83:24 - error TS2351: This expression is not constructable.
Type 'typeof import("jspdf")' has no construct signatures.
83 const pdfDoc = new jsPDF('l');
I am not able to find out what is happening here.
can anyone please help me with this?
Thanks in Advance!