Open dmnrmr opened 6 years ago
The docs are correct: https://github.com/Reactive-Extensions/RxJS-DOM/blob/35271e7/src/ajax/ajax.js#L220-L228
If you need to specify responseType
then you'll need to pass an object and not a string.
It was very stupid of me trying to pass settings to ajax.get
method. Case closed.
It says that you either pass a
url: string
or asettings: Object
when in reality it is this:Also how can you set
responseType
(which defaults to json) when you can't pass any options?