Not sure if this is the best way, but it still works for rxjs@5. If someone has an idea how we can test this against both versions of RxJS, feel free to add a suggestion.
I was in doubt if we should add rxjs as a separate item from rxjs/Observable. But I didn't do it because the current solution also works for version 5. But I can still do this if it's preferred.
Not sure if this is the best way, but it still works for rxjs@5. If someone has an idea how we can test this against both versions of RxJS, feel free to add a suggestion.
I was in doubt if we should add
rxjs
as a separate item fromrxjs/Observable
. But I didn't do it because the current solution also works for version 5. But I can still do this if it's preferred.