Closed SethDavenport closed 7 years ago
Typescript's stricter checks for higher order functions have exposed a bug in the Redux typings, discussion here: https://github.com/reactjs/redux/pull/2467
A fix has been merged to Redux but it's waiting for a new npm release. In the meantime we might be able to get away with a downcast in the implementation of routerReducer
.
Fixed in @angular-redux/router@6.3.1.
This is a...
What toolchain are you using for transpilation/bundling?
ngc
Environment
NodeJS Version: Typescript Version: Angular Version: @angular-redux/store version: @angular/cli version: (if applicable) OS:
Link to repo showing the issus
(optional, but helps a lot)
Expected Behaviour:
This should work fine (it does in typescript < 2.4)
Actual Behaviour:
You get a TSC error (below).
Stack Trace/Error Message:
Additional Notes:
(optional)