opdahlmann / ng2-opd-popup-sample

4 stars 13 forks source link

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

Closed hitmacreed closed 6 years ago

hitmacreed commented 6 years ago

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 commented 6 years ago

same issue here

asherbig commented 6 years ago

Also got this issue

petrovserg commented 6 years ago

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

oscarrodar commented 6 years ago

@petrovserg is messing around 😆