Skip to content

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

@rmorrise

Description

@rmorrise

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions