Skip to content

Commit bffa83c

Browse files
authored
docs(operators): defaultIfEmpty (#6413)
missing import of interval
1 parent f1f4e8b commit bffa83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/operators/defaultIfEmpty.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { OperatorSubscriber } from './OperatorSubscriber';
1818
* ## Example
1919
* If no clicks happen in 5 seconds, then emit "no clicks"
2020
* ```ts
21-
* import { fromEvent } from 'rxjs';
21+
* import { fromEvent, interval } from 'rxjs';
2222
* import { defaultIfEmpty, takeUntil } from 'rxjs/operators';
2323
*
2424
* const clicks = fromEvent(document, 'click');

0 commit comments

Comments
 (0)