Closed kevinrjones closed 6 years ago
Duplicate of #519
Redux 4 introduced breaking changes to the typedefs. If you want to use angular-redux/store@7 you need to be on Redux 3.7.2
Conversely, if you want to be on Redux 4 you'll have to update the entire ecosystem:
npm i -S redux
works for me
This is a...
What toolchain are you using for transpilation/bundling?
ngc
Environment
NodeJS Version: 8.4.0 Typescript Version: 2.8.1 (but also tried on earlier version) Angular Version: 5.2 @angular-redux/store version: 7.1.1 @angular/cli version: (if applicable) 1.7.4 OS: Mac OSX
I'm completely new to Redux and angular/redux and don't know if you are supporting Redux 4.0.0 yet but I'm seeing an issue when using 4.0.0
To reproduce:
Run
ng new myapp
add references in package.json toRedux 4.0.0
and@angular-redux/store 7.1.1
in app.module.ts addimport { NgReduxModule } from "@angular-redux/store";
run
ng build
and you get the following errorTried this with Redux 3.7.2 and all works as expected. It looks like there are a few updates to the types in 4.0.0