UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

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