Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 4e8f6c2

Browse files
ofelix03mattpodwysocki
authored andcommitted
Fix type in doc/gettingstarted/promises.md (#1284)
* Fix type in doc/gettingstarted/promises.md * Fix typo in doc/api/core/operators/case.md
1 parent 8f5142b commit 4e8f6c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/core/operators/case.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Uses selector to determine which source in sources to use. There is an alias 's
55

66
### Arguments
77
1. `selector` *(`Function`)*: The function which extracts the value for to test in a case statement.
8-
2. `sources` *(`Object`)*: A object which has keys which correspond to the case statement labels.
8+
2. `sources` *(`Object`)*: An object which has keys which correspond to the case statement labels.
99
3. `[elseSource|scheduler]` *(`Observable` | `Scheduler`)*: The observable sequence that will be run if the sources are not matched. If this is not provided, it defaults to `Rx.Observabe.empty` with the specified scheduler.
1010

1111
#### Returns

doc/gettingstarted/promises.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var subscription = source.subscribe(
5151
// => onCompleted
5252
```
5353

54-
This is just scatching the surface of what Promises and RxJS can do together so that we have first class single values and first class multiple values working together.
54+
This is just scratching the surface of what Promises and RxJS can do together so that we have first class single values and first class multiple values working together.
5555

5656
## Converting Promises to Observable Sequences ##
5757

0 commit comments

Comments
 (0)