UNPKG

257 BTypeScriptView Raw
1import { Subscriber } from '../Subscriber';
2import { PartialObserver } from '../types';
3export declare function toSubscriber<T>(nextOrObserver?: PartialObserver<T> | ((value: T) => void), error?: (error: any) => void, complete?: () => void): Subscriber<T>;