Skip to content

Commit

Permalink
docs(share): fix imports in "Delayed reset" example (#6555)
Browse files Browse the repository at this point in the history
Closes #6552
  • Loading branch information
jakovljevic-mladen committed Aug 11, 2021
1 parent 3a523f0 commit 99fefcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/operators/share.ts
Expand Up @@ -103,8 +103,8 @@ export function share<T>(options: ShareConfig<T>): MonoTypeOperatorFunction<T>;
*
* ## Example with notifier factory: Delayed reset
* ```ts
* import { interval } from 'rxjs';
* import { share, take, timer } from 'rxjs/operators';
* import { interval, timer } from 'rxjs';
* import { share, take } from 'rxjs/operators';
*
* const source = interval(1000).pipe(take(3), share({ resetOnRefCountZero: () => timer(1000) }));
*
Expand Down

0 comments on commit 99fefcb

Please sign in to comment.