Skip to content

Conversation

@gilnis2
Copy link

@gilnis2 gilnis2 commented Jul 23, 2017

When doing the tutorial and do the step of the npm start, The script wasn't work.
After updating the package.json file with a newer typescript version the script back to work.

When doing the tutorial and do the step of the npm start, The script wasn't work.
After updating the package.json file with a newer typescript version the script back to work.
@bj603
Copy link

bj603 commented Jul 26, 2017

This issue is confirmed. Before applying this change I experienced this by using node version v6.5.0 and npm version 3.10.3:

node_modules/rxjs/Subject.d.ts(16,22): error TS2415: Class 'Subject<T>' incorrectly extends base class 'Observable<T>'.
  Types of property 'lift' are incompatible.
    Type '<T, R>(operator: Operator<T, R>) => Observable<T>' is not assignable to type '<R>(operator: Operator<T, R>) => Observable<R>'.
      Type 'Observable<T>' is not assignable to type 'Observable<R>'.
        Type 'T' is not assignable to type 'R'.

Updating typescript version solved this. Thank you.

One more thing, probably this update also should be made in 'APM - Final'.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants