wishthis/node_modules/rxjs/internal/util/subscribeToObservable.d.ts

8 lines
298 B
TypeScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
import { Subscriber } from '../Subscriber';
/**
* Subscribes to an object that implements Symbol.observable with the given
* Subscriber.
* @param obj An object that implements Symbol.observable
*/
export declare const subscribeToObservable: <T>(obj: any) => (subscriber: Subscriber<T>) => any;