Error: node_modules/ng-multiselect-dropdown/ng-multiselect-dropdown.module.d.ts:3:23 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s). code example

Example: Generic type 'ModuleWithProviders' requires 1 type argument(s).

// Add in app.module.ts

declare module "@angular/core" {
  interface ModuleWithProviders<T = any> {
    ngModule: Type<T>;
    providers?: Provider[];
  }
}

// OR add in tsconfig.app.json
"skipLibCheck": true;

{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "outDir": "./out-tsc/app",
    "types": [],
    "skipLibCheck": true
  },
      .....