Skip to content

Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) when tried to import Elmodule #167

@Even-Lau

Description

@Even-Lau

Issue Type:

  • Bug

Version & Environment:
Angular CLI: 12.2.11
Node: 14.17.3
Package Manager: npm 8.1.1
OS: darwin x64

Angular: 12.2.11

@angular-devkit/architect 0.1202.11
@angular-devkit/build-angular 12.2.11
@angular-devkit/core 12.2.11
@angular-devkit/schematics 12.2.11
@schematics/angular 12.2.11
rxjs 6.6.7
typescript 4.3.5

Description:
Tried to import Elmodule in my project and got this error

Error: node_modules/element-angular/release/tooltip/module.d.ts:8:23 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).

8 static forRoot(): ModuleWithProviders;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions