mean-expert-official / loopback-sdk-builder

Tool for auto-generating Software Development Kits (SDKs) for LoopBack
Other
399 stars 178 forks source link

Error when compiling angular app #578

Open luckySeventeen opened 6 years ago

luckySeventeen commented 6 years ago

What type of issue are you creating?

What version of this module are you using?

Write other if any:

Please add a description for your issue:

I am gettung an error when webpack is compiling my client app. it says: ERROR in /Users/milanj/em/client/sdk/services/core/base.service.ts (141,14): The type argument for type parameter 'T' cannot be inferred from the usage. Consider specifying the type arguments explicitly. Type argument candidate 'HttpEvent<{}>' is not a valid type argument because it is not a supertype of candidate 'HttpResponse'. Type 'HttpResponse' is not assignable to type 'HttpResponse<{}>'. Type 'any' is not assignable to type '{}'.

Please can anyone help?

dmastag commented 6 years ago

I noticed that also in the 2.1.0 release. Suddenly all params that are not stated in angular will get a {} value