Skip to content

Commit

Permalink
docs(switchMap): change example description
Browse files Browse the repository at this point in the history
* docs(operators): Rerun is changed to Return

* docs: change example description

Co-authored-by: Nicholas Jamieson <nicholas@cartant.com>
  • Loading branch information
matwming and cartant committed Jun 10, 2021
1 parent 4f4ac00 commit 3d251be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/operators/switchMap.ts
Expand Up @@ -56,7 +56,7 @@ export function switchMap<T, R, O extends ObservableInput<any>>(
* // ... and so on
* ```
*
* Rerun an interval Observable on every click event
* Restart an interval Observable on every click event
* ```ts
* import { fromEvent, interval } from 'rxjs';
* import { switchMap } from 'rxjs/operators';
Expand Down

0 comments on commit 3d251be

Please sign in to comment.