Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

Need to update rxjs version to 5.4.2 #86

Description

@bougnat12

When upgrading my project with Angular 4.3.3, rxjs 5.4.2, Typescript 2.4.1 I have this issue related to the older rxjs version included into angular2-websocket:

ERROR in /Users/pfradin/Documents/projets/git/mad-web-ui/node_modules/angular2-websocket/node_modules/rxjs/Subject.d.ts (16,22): Class 'Subject' incorrectly extends base class 'Observable'.
Types of property 'lift' are incompatible.
Type '<T, R>(operator: Operator<T, R>) => Observable' is not assignable to type '(operator: Operator<T, R>) => Observable'.
Type 'Observable' is not assignable to type 'Observable'.
Type 'T' is not assignable to type 'R'.

I just replaced the rxjs 5.0.0-beta.12 with 5.4.2 into my node_modules/angular2-websocket/package.json file, redo an npm install locally to this directory and the issue is resolved.

I attached the package.json file and hope that helps.

Regards

Patrick
package.json.zip

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions