Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throwing error while trying to use angular-redux #92

Closed
1 task done
RAJKUMAR996 opened this issue Jul 9, 2019 · 5 comments
Closed
1 task done

Throwing error while trying to use angular-redux #92

RAJKUMAR996 opened this issue Jul 9, 2019 · 5 comments

Comments

@RAJKUMAR996
Copy link

RAJKUMAR996 commented Jul 9, 2019

This is a...

  • bug report

Environment

NodeJS Version: v8.12.0
Typescript Version:3.2.2
Angular Version:7.2.0
@angular-redux/store version:10.0.0
redux Version:4.0.2

Stack Trace/Error Message:

ERROR in node_modules/@angular-redux/store/components/ng-redux.d.ts(10,31): error TS2420: Class 'NgRedux' incorrectly implements interface 'ObservableStore'.
Property '[Symbol.observable]' is missing in type 'NgRedux' but required in type 'ObservableStore'.

Additional Notes:

seems like store interface got updated in latest release of Redux (4.0.2)

@RAJKUMAR996 RAJKUMAR996 changed the title Throwing error try to use angular-redux Throwing error while trying to use angular-redux Jul 9, 2019
@ilkkaparssinen
Copy link

Got same error with @angular-redux/store 9.0.0 and redux 4.0.3. Downgrading to redux 4.0.1 solved the situation for me.

@doanthai
Copy link

Same issue: #93

@caipirginka
Copy link

Yes, I can confirm that redux@4.0.1 works with latest @angular-redux.
There seems to be a specular issue on redux side: reduxjs/redux#3466
But I didn't understand if this is indeed a bug inside redux and it will get corrected in a future version, or if it is a bug inside angular-redux that needs to be modified to keep it working with redux >= 4.0.2

@nivrith
Copy link

nivrith commented Jul 19, 2019

Yes, same after downgrading to redux@4.0.1 it works with latest @angular-redux for me

@SteppeEagle
Copy link

the same for me. I spent a lot of time for fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants