jonaszuberbuehler / ion-affix

A directive for Ionic framework for creating affix headers.
MIT License
57 stars 20 forks source link

Not working with ionic-angular@3.9.x due to rxjs update #14

Closed jonaszuberbuehler closed 6 years ago

jonaszuberbuehler commented 6 years ago

Using latest version of ionic-angular results in following error:

Typescript Error Class 'Subject' incorrectly extends base class 'Observable'. Types of property 'lift' are incompatible. Type '(operator: Operator<T, R>) => Observable' is not assignable to type '(operator: Operator<T, R>) => Observable'. Type 'Observable' is not assignable to type 'Observable'. Type 'T' is not assignable to type 'R'.

This is due to the change introduced in rxjs@5.5.2 (explained here).

jonaszuberbuehler commented 6 years ago

My bad, was referencing the package locally which causes the error.