Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / internal / operators / find.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/internal/operators/find.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/internal/operators/find.d.ts
new file mode 100644 (file)
index 0000000..9da6850
--- /dev/null
@@ -0,0 +1,30 @@
+import { Observable } from '../Observable';
+import { Operator } from '../Operator';
+import { Subscriber } from '../Subscriber';
+import { OperatorFunction } from '../types';
+export declare function find<T, S extends T>(predicate: (value: T, index: number, source: Observable<T>) => value is S, thisArg?: any): OperatorFunction<T, S | undefined>;
+export declare function find<T>(predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): OperatorFunction<T, T | undefined>;
+export declare class FindValueOperator<T> implements Operator<T, T | number | undefined> {
+    private predicate;
+    private source;
+    private yieldIndex;
+    private thisArg?;
+    constructor(predicate: (value: T, index: number, source: Observable<T>) => boolean, source: Observable<T>, yieldIndex: boolean, thisArg?: any);
+    call(observer: Subscriber<T>, source: any): any;
+}
+/**
+ * We need this JSDoc comment for affecting ESDoc.
+ * @ignore
+ * @extends {Ignored}
+ */
+export declare class FindValueSubscriber<T> extends Subscriber<T> {
+    private predicate;
+    private source;
+    private yieldIndex;
+    private thisArg?;
+    private index;
+    constructor(destination: Subscriber<T>, predicate: (value: T, index: number, source: Observable<T>) => boolean, source: Observable<T>, yieldIndex: boolean, thisArg?: any);
+    private notifyComplete;
+    protected _next(value: T): void;
+    protected _complete(): void;
+}