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
@RoyiNamir it seems that you are hitting this issue where any import from rxjs/Rx will actually import the whole library including the DOM-related stuff.
Remove this line
import { Observable, pipe} from "rxjs/Rx";
and try the following:
import { Observable } from "rxjs/Observable";
import { pipe } from 'rxjs/util/pipe';
Using
"rxjs": "~5.5.2",
:I have pipeable/lettable operators as fields :
Later on I do this :
This ^ code works fine. But I also have GET/DELETE/PUT commands so I don't want to reapeat :
.pipe(this.hideIndicator, this.catchError);
.So it's possible to declare an aggregte method like :
notice that now
pipe
should be imported. so let's do it :And :
But I get an error :
The text was updated successfully, but these errors were encountered: