You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code to reproduce:
N/A. See Additional information below.
Expected behavior:
Successful build
Actual behavior:
Build error:
ERROR in node_modules/rxjs/Subject.d.ts (16,22): Class 'Subject<T>' i
ncorrectly extends base class 'Observable<T>'.
Types of property 'lift' are incompatible.
Type '<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'.
Additional information:
The build error is encountered inside of an Angular project created with the Angular CLI. Steps to reproduce the error:
npm install -g @angular/cli
ng new my-project
cd my-project
Inside package.json, change typescript version to 2.4.1
npm update
ng build
Build fails
Build fails with TypeScript 2.4.1
Build passes with TypeScript 2.4.0
The text was updated successfully, but these errors were encountered:
RxJS version:
5.4.1
Code to reproduce:
N/A. See Additional information below.
Expected behavior:
Successful build
Actual behavior:
Build error:
Additional information:
The build error is encountered inside of an Angular project created with the Angular CLI. Steps to reproduce the error:
npm install -g @angular/cli
ng new my-project
cd my-project
package.json
, changetypescript
version to2.4.1
npm update
Build fails with TypeScript 2.4.1
Build passes with TypeScript 2.4.0
The text was updated successfully, but these errors were encountered: