aboutsummaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/rxjs/internal/operators/findIndex.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/internal/operators/findIndex.d.ts')
-rw-r--r--tools/node_modules/eslint/node_modules/rxjs/internal/operators/findIndex.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/internal/operators/findIndex.d.ts b/tools/node_modules/eslint/node_modules/rxjs/internal/operators/findIndex.d.ts
index d244745a6f..bc1c21cce9 100644
--- a/tools/node_modules/eslint/node_modules/rxjs/internal/operators/findIndex.d.ts
+++ b/tools/node_modules/eslint/node_modules/rxjs/internal/operators/findIndex.d.ts
@@ -18,6 +18,9 @@ import { OperatorFunction } from '../types';
* ## Example
* Emit the index of first click that happens on a DIV element
* ```javascript
+ * import { fromEvent } from 'rxjs';
+ * import { findIndex } from 'rxjs/operators';
+ *
* const clicks = fromEvent(document, 'click');
* const result = clicks.pipe(findIndex(ev => ev.target.tagName === 'DIV'));
* result.subscribe(x => console.log(x));