Open abanuprakash opened 4 years ago
The one of the breaking changes in Angular10 - this interface sygnature changed from interface ModuleWithProviders{}
to interface ModuleWithProviders<T> {}
Other libraries are reporting similar issues: example
Try adding to your package.json scripts "scripts": { "postinstall": "ngcc" }
When running npm install should compile the library properly.
+1
Angular version: 10
ng-multiselect-dropdown version:0.2.10
Description of issue: ERROR in node_modules/ng-multiselect-dropdown/ng-multiselect-dropdown.module.d.ts:3:23 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).
Steps to reproduce:
Expected result: upgrade to angular 10
Actual result:
Demo: Please share sample code link using StackBlitz or codesandbox
Any relevant code: