mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-08 03:50:13 +08:00
10 lines
893 B
TypeScript
10 lines
893 B
TypeScript
|
|
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>;
|