Skip to content

Error: NgDragDropModule.forRoot returns a ModuleWithProviders type without a generic type argument #198

@syedthamim

Description

@syedthamim

Hi ,

After upgrading the application to Angular 16.2.10 below error is throwing during ngserve

Error details:
Error: node_modules/ng-drag-drop/src/ng-drag-drop.module.d.ts:3:23 - error NG6005: NgDragDropModule.forRoot returns a ModuleWithProviders type without a generic type argument. Please add a generic type argument to the ModuleWithProviders type. If this occurrence is
in library code you don't control, please contact the library authors.
3 static forRoot(): ModuleWithProviders;

I tried adding generic type argument but it not resolved.

Any solution to resolve this error? or any new updates available for ng-drag-drop package?

  • Angular version: 16.2.10
  • Angular CLI Version: 16.2.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions