Skip to content

Fix problem with eslint #96

@benni-h

Description

@benni-h

Problem

I updated to a newer version of angular and had to add eslint.

(Without turning of linting or modifying the linting rules I could fix the files on the fly or create my own package.)

Logs

node_modules/ngx-mydatepicker/lib/ngx-mydatepicker.module.d.ts:3:23 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

3     static forRoot(): ModuleWithProviders;

Main problem

Not 100% sure where to start in the code as it looks like it is in the code and added when compiling.

Versions

(Shortened list.)
"@angular/...": "~12.2.11",
"eslint": "7.32.0",
...
(The update process is still ongoing/blocked thanks to some other package.)

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