aboutsummaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferToggle.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferToggle.ts')
-rw-r--r--tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferToggle.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferToggle.ts b/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferToggle.ts
index b32f6e1f04..6385730ba5 100644
--- a/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferToggle.ts
+++ b/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferToggle.ts
@@ -26,6 +26,9 @@ import { OperatorFunction, SubscribableOrPromise } from '../types';
* Every other second, emit the click events from the next 500ms
*
* ```javascript
+ * import { fromEvent, interval, empty } from 'rxjs';
+ * import { bufferToggle } from 'rxjs/operators';
+ *
* const clicks = fromEvent(document, 'click');
* const openings = interval(1000);
* const buffered = clicks.pipe(bufferToggle(openings, i =>