fix typo
This commit is contained in:
parent
a3364d89e3
commit
2da1a2d84f
@ -650,7 +650,7 @@ block observables-section-intro
|
|||||||
+ifDocsFor('ts')
|
+ifDocsFor('ts')
|
||||||
:marked
|
:marked
|
||||||
A more important difference: we no longer call `toPromise`.
|
A more important difference: we no longer call `toPromise`.
|
||||||
Instead we return the *observable* from the the `htttp.get`,
|
Instead we return the *observable* from the the `http.get`,
|
||||||
after chaining it to another RxJS operator, <code>map</code>,
|
after chaining it to another RxJS operator, <code>map</code>,
|
||||||
to extract heroes from the response data.
|
to extract heroes from the response data.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user