Skip to content

Commit

Permalink
docs(operators): defaultIfEmpty (#6413)
Browse files Browse the repository at this point in the history
missing import of interval
  • Loading branch information
victororlyk committed May 21, 2021
1 parent f1f4e8b commit bffa83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/operators/defaultIfEmpty.ts
Expand Up @@ -18,7 +18,7 @@ import { OperatorSubscriber } from './OperatorSubscriber';
* ## Example
* If no clicks happen in 5 seconds, then emit "no clicks"
* ```ts
* import { fromEvent } from 'rxjs';
* import { fromEvent, interval } from 'rxjs';
* import { defaultIfEmpty, takeUntil } from 'rxjs/operators';
*
* const clicks = fromEvent(document, 'click');
Expand Down

0 comments on commit bffa83c

Please sign in to comment.