RxJS version:
5.0.0-beta.11
Code to reproduce:
import { Observable } from 'rxjs/Observable';
import { ajax } from 'rxjs/observable/dom/ajax';
console.log(ajax.getJSON('/api/v2/users'));
Expected behavior:
AjaxObservable { _isScalar: false, request: Object }
Actual behavior:
Uncaught (in promise) TypeError: (intermediate value).map is not a function(… ) in ajaxGetJSON
Additional information:
This is probably a regression caused by this commit: 7a77437
Introduced in 5.0.0-beta.11, since it works fine if I downgrade to 5.0.0-beta.10.
I'm using rxjs with redux-observable, if that makes any difference.