Fix error with lift method#163
Conversation
fixes #161
The error was:
```log
Class 'Actions' incorrectly extends base class 'Observable<Action>'.
Types of property 'lift' are incompatible.
Type '(operator: Operator<any, Action>) => Observable<Action>' is not assignable to type '<R>(operator: Operator<Action, R>) => Observable<R>'.
Types of parameters 'operator' and 'operator' are incompatible.
Type 'Operator<Action, R>' is not assignable to type 'Operator<any, Action>'.
Type 'R' is not assignable to type 'Action'.
```
|
There is another error I noticed, but I think this has more to do with rxjs and specifically typescript 5.4.1: This can be fixed by adding |
|
rather than using « noStrictGenericChecks: true » which is not recommended, until rxjs is fixed create a file in in your project and paste into it the following code. It will be picked by the compiler and will fix the issue. waiting for your fix to be included in @ngrx/effects to address the first issue. Thanks |
|
@brandonroberts @MikeRyanDev Please merge this PR so that |
|
I confirm that rxjs 5.4.2 fixes the issue on their part. your fix need to be merged ! |
|
Thanks!
…On Jul 5, 2017 6:11 PM, "Brandon" ***@***.***> wrote:
Merged #163 <#163>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#163 (comment)>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AA0lQO7srGzY0-EbayKvmakujl0aLSC2ks5sLAokgaJpZM4OKEeV>
.
|
|
thanks for merging this. Any idea when npm will reflect it ? |
fixes #161
The error was: