toSubscriber.d.ts 260 B

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