Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Angular 10 #108

Closed
FranciscoKnebel opened this issue Aug 24, 2020 · 1 comment
Closed

Error on Angular 10 #108

FranciscoKnebel opened this issue Aug 24, 2020 · 1 comment
Labels

Comments

@FranciscoKnebel
Copy link

FranciscoKnebel commented Aug 24, 2020

Error caught on ng build --prod with Angular 10.

ERROR in node_modules/ngx-avatar/lib/avatar.module.d.ts:4:50 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).
4     static forRoot(avatarConfig?: AvatarConfig): ModuleWithProviders;
@FranciscoKnebel
Copy link
Author

Problem was solved with the Angular 9 migration https://github.com/HaithemMosbahi/ngx-avatar/pull/91/files#diff-017b69446dd3f277592d9b36c2593474.

Solved by changing package version to 4.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants