diff options
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/windowCount.ts')
-rw-r--r-- | tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/windowCount.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/windowCount.ts b/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/windowCount.ts index 39cfa74154..fc59fa392b 100644 --- a/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/windowCount.ts +++ b/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/windowCount.ts @@ -25,6 +25,9 @@ import { OperatorFunction } from '../types'; * ## Examples * Ignore every 3rd click event, starting from the first one * ```javascript + * import { fromEvent } from 'rxjs'; + * import { windowCount, map, mergeAll } from 'rxjs/operators'; + * * const clicks = fromEvent(document, 'click'); * const result = clicks.pipe( * windowCount(3)), @@ -36,6 +39,9 @@ import { OperatorFunction } from '../types'; * * Ignore every 3rd click event, starting from the third one * ```javascript + * import { fromEvent } from 'rxjs'; + * import { windowCount, mergeAll } from 'rxjs/operators'; + * * const clicks = fromEvent(document, 'click'); * const result = clicks.pipe( * windowCount(2, 3), |