Update effects-subscription.ts#97
Conversation
Correct me if I'm wrong, but I'm pretty sure the type should be Observer<Action>. As a matter of fact, this won't build for me without the change.
|
Please merge this pull request, it's fixing angular 4 beta-x type errors |
|
This fix will definitely help for AoT type checked builds. JIT mode still builds fine as it is less strict. manually overriding the unblocks the AoT compilation , does exactly what @atscott solved in the source. |
|
@brandonroberts hey man, this issue is a real pain, would you mind merging this PR to solve it? Thanks a lot! |
|
@nosachamos I think that this issue is fixed in the version 3.0 but they are waiting for the stable verison of 4.0.0 of angular. Until then, you can use this commit on my fork, that works with "@ngrx/effects": "https://github.com/mikkeldamm/effects/tarball/56d75b368bebc606ed326b5db5387a99855f97a3", |
|
@mikkeldamm oh, I hadn't seen they were already working on 3.0 for ng 4. Very cool, thanks for the heads up. I ended up having my fork with this fix as well, but thanks anyways! 👍 |
Correct me if I'm wrong, but I'm pretty sure the type should be
Observer<Action>. As a matter of fact, this won't build for me without the change.