rxjs
rxjs copied to clipboard
errors seen when running typedoc
RxJS version: 5.4.0
Code to reproduce: source code
Expected behavior: no errors when linting
Actual behavior:
Error: /foo/node_modules/rxjs/Subject.d.ts(15)
Class 'Subject<T>' incorrectly 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'.
Error: /foo/node_modules/rxjs/observable/dom/WebSocketSubject.d.ts(23)
Class 'WebSocketSubject<T>' incorrectly extends base class 'AnonymousSubject<T>'.
Types of property 'lift' are incompatible.
Type '<R>(operator: Operator<T, R>) => WebSocketSubject<R>' is not assignable to type '<R>(operator: Operator<T, R>) => Observable<T>'.
Type 'WebSocketSubject<R>' is not assignable to type 'Observable<T>'.
Types of property 'operator' are incompatible.
Type 'Operator<any, R>' is not assignable to type 'Operator<any, T>'.
Type 'R' is not assignable to type 'T'.```
Please use latest version. https://github.com/ReactiveX/rxjs/issues/2705#issuecomment-322170953
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.