Skip to content

Commit

Permalink
docs(operators): scan (#6414)
Browse files Browse the repository at this point in the history
missing number$
  • Loading branch information
victororlyk committed May 21, 2021
1 parent bffa83c commit 2fb22bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/internal/operators/scan.ts
Expand Up @@ -35,9 +35,11 @@ export function scan<V, A, S>(accumulator: (acc: A | S, value: V, index: number)
* first value from the source.
*
* ```ts
* import { interval } from 'rxjs';
* import { interval, of } from 'rxjs';
* import { scan, map } from 'rxjs/operators';
*
* const numbers$ = of(1, 2, 3);
*
* numbers$
* .pipe(
* // Get the sum of the numbers coming in.
Expand Down

0 comments on commit 2fb22bf

Please sign in to comment.