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

angular-redux/store error with won't compile with rxjs 6.4.0/redux 4.0.4 #101

Open
2 tasks done
rmorrise opened this issue Sep 26, 2019 · 1 comment
Open
2 tasks done

Comments

@rmorrise
Copy link
Contributor

rmorrise commented Sep 26, 2019

This is a...

  • bug report

What toolchain are you using for transpilation/bundling?

  • @angular/cli

Environment

NodeJS Version: 12.10.0
Typescript Version: 3.5.3
Angular Version: 8.2.7
@angular-redux/store version: 10.0.0
@angular/cli version: (if applicable) 8.3.5
OS: Win10 Enterprise x64

Expected Behaviour:

Should compile normally.

Actual Behaviour:

Error running ng test --source-map false

Stack Trace/Error Message:

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

10 export declare abstract class NgRedux<RootState> implements ObservableStore<RootState> {
                                 ~~~~~~~

  node_modules/redux/index.d.ts:247:3
    247   [Symbol.observable](): Observable<S>
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    '[Symbol.observable]' is declared here.

Additional Notes:

"redux": "4.0.4",
"rxjs": "~6.4.0"
@rmorrise rmorrise changed the title angular-redux/store error with won't compile with rxjs 6.4.0 angular-redux/store error with won't compile with rxjs 6.4.0/redux 4.0.4 Sep 26, 2019
@LukasKlement
Copy link

LukasKlement commented Nov 5, 2019

You need to downgrade to redux 4.0.1 to compile your project, see the comments here or here.

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

2 participants