ElemeFE / ElemeFE/element-angular

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

Open
#167 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
527
Forks
121
PR merge metrics
No merged PRs in 30d

Description

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;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.