toSubscriber.d.ts 257 B

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