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

Class 'Subject<T>' incorrectly extends base class 'Observable<T>'. #23

Closed
hitmacreed opened this issue May 23, 2018 · 4 comments
Closed

Comments

@hitmacreed
Copy link

Getting this error ERROR in node_modules/ng2-opd-popup/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 '<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'.

@abdelrahmanlifestyle
Copy link

same issue here

@asherbig
Copy link

Also got this issue

@petrovserg
Copy link

Go to component's folder (e.g. you-project\node_module\ng2-opd-popup) and delete node_modules sub folder.

@oscarrodar
Copy link

@petrovserg is messing around 😆

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

No branches or pull requests

5 participants