docs: correct the spelling mistake in observables error handling code (#36437)

This commit fixes a spelling error in the word error in the
observables.md guide. It is currently
spelled errror  and the mistake is not intentional.

PR Close #36437
This commit is contained in:
Jaskaran Singh 2020-04-05 07:55:28 -04:00 committed by Andrew Kushnir
parent a177b1b7b1
commit 873330b82c
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ Because observables produce values asynchronously, try/catch will not effectivel
<code-example>
myObservable.subscribe({
next(num) { console.log('Next num: ' + num)},
error(err) { console.log('Received an errror: ' + err)}
error(err) { console.log('Received an error: ' + err)}
});
</code-example>