summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/rxjs/internal/operators/tap.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/internal/operators/tap.d.ts')
-rw-r--r--tools/node_modules/eslint/node_modules/rxjs/internal/operators/tap.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/internal/operators/tap.d.ts b/tools/node_modules/eslint/node_modules/rxjs/internal/operators/tap.d.ts
index ba9d25a758..72a4db2571 100644
--- a/tools/node_modules/eslint/node_modules/rxjs/internal/operators/tap.d.ts
+++ b/tools/node_modules/eslint/node_modules/rxjs/internal/operators/tap.d.ts
@@ -1,3 +1,9 @@
import { MonoTypeOperatorFunction, PartialObserver } from '../types';
+/** @deprecated Use an observer instead of a complete callback */
+export declare function tap<T>(next: null | undefined, error: null | undefined, complete: () => void): MonoTypeOperatorFunction<T>;
+/** @deprecated Use an observer instead of an error callback */
+export declare function tap<T>(next: null | undefined, error: (error: any) => void, complete?: () => void): MonoTypeOperatorFunction<T>;
+/** @deprecated Use an observer instead of a complete callback */
+export declare function tap<T>(next: (value: T) => void, error: null | undefined, complete: () => void): MonoTypeOperatorFunction<T>;
export declare function tap<T>(next?: (x: T) => void, error?: (e: any) => void, complete?: () => void): MonoTypeOperatorFunction<T>;
export declare function tap<T>(observer: PartialObserver<T>): MonoTypeOperatorFunction<T>;