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