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

Update typescript version in package.json #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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