loopback-sdk-builder
loopback-sdk-builder copied to clipboard
Error when compiling angular app
What type of issue are you creating?
- [ ] Bug
- [ ] Enhancement
- [x ] Question
What version of this module are you using?
- [x ] 2.0.10 (Stable)
- [ ] 2.1.0-rc.n (2.1 Release Candidate n)
- [ ] Other
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
Please can anyone help?
I noticed that also in the 2.1.0 release. Suddenly all params that are not stated in angular will get a {} value