Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) when tried to import Elmodule
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular, typescript
- Domain
- frontend
Research direction
Start with node_modules/element-angular/release/tooltip/module.d.ts at line 8 and compare the declaration with the Angular 12.2.11 and TypeScript 4.3.5 versions reported. Reproduce the Elmodule import to confirm the TS2314 error, then verify that the import completes without this diagnostic.
Written by the indexing model from the issue text.
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;
- Dominant language
- TypeScript
- Stars
- 527
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ElemeFE/element-angular
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ElemeFE/element-angular#155 ·
-
Latest vue.js library version 2.15.14 in angular and compatibility with the latest angular versionOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ElemeFE/element-angular#171 ·
-
Update on Angular 9Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
ElemeFE/element-angular#165 · 2 comments · 6 reactions ·
-
快速上手那里的指导,在运行的地方命令出错Open
Difficulty 1/5 Under an hour Newbie friendliness 45/100
ElemeFE/element-angular#164 · 1 comment ·
-
container布局为啥是这样的?Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
ElemeFE/element-angular#163 ·
All issues in ElemeFE/element-angular
Similar issues
-
bug HemiStake
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
hemilabs/ui-monorepo#2413 ·
Maintainers usually reply within 1 day
-
component/ui framework/react kind/bug language/javascript
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
meshery/meshery#22216 · 3 comments ·
Maintainers usually reply within 1 day
-
type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
paperclipai/paperclip#14982 ·
Maintainers usually reply within 1 day
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
lingdojo/kana-dojo#31515 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day