Skip to content

Conversation

Raubritter
Copy link

After updating to angular 10 I got these Problems

ERROR in node_modules/ngx-restangular/lib/ngx-restangular.module.d.ts:5:78 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).

5 static forRoot(configFunction?: (provider: any, ...arg: any[]) => void): ModuleWithProviders;
~~~~~~~~~~~~~~~~~~~
node_modules/ngx-restangular/lib/ngx-restangular.module.d.ts:6:97 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).

6 static forRoot(providers?: any[], configFunction?: (provider: any, ...arg: any[]) => void): ModuleWithProviders;

@trongvn2010
Copy link

trongvn2010 commented Jun 29, 2020

It's working now. (ModuleWithProviders => ModuleWithProviders < any > )

@Raubritter
Copy link
Author

Is there a way to use my patch in my project while its not merged yet?

Im pretty new to these prs on github

@rshchpkn
Copy link
Collaborator

Hi, thanks for your contribution, new version has been released. Any feedback will be highly appreciated.

@rshchpkn rshchpkn closed this Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants