docs(docs-infra): fix typo in tap into the observable tutorial example (#52359)

PR Close #52359
This commit is contained in:
Ivad
2023-10-24 22:15:32 +02:00
committed by Alex Rickabaugh
parent becbcdcff0
commit 499c22251d
@@ -179,7 +179,7 @@ Because each service method returns a different kind of `Observable` result, `ha
### Tap into the Observable
The `getHeros()` method taps into the flow of observable values and sends a message, using the `log()` method, to the message area at the bottom of the page.
The `getHeroes()` method taps into the flow of observable values and sends a message, using the `log()` method, to the message area at the bottom of the page.
The RxJS `tap()` operator enables this ability by looking at the observable values, doing something with those values, and passing them along.
The `tap()` callback doesn't access the values themselves.