I have upgraded my angular project to version 10, where we are using angular4-events in our project. So, while upgrading to version 10, the below error is seen during compilation. Please help me out in resolving that.
ERROR in node_modules/angular4-events/esm/src/angular4-events.module.d.ts:3:23 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).
Hi,
I have upgraded my angular project to version 10, where we are using angular4-events in our project. So, while upgrading to version 10, the below error is seen during compilation. Please help me out in resolving that.
ERROR in node_modules/angular4-events/esm/src/angular4-events.module.d.ts:3:23 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).
3 static forRoot(): ModuleWithProviders;