react-kiwi-dropdown
Version:
| Name | Type | Description | | --------------------------- | -------------------- | ----------- | | options | array | | selectedOption | string | | onCha
8 lines (7 loc) • 298 B
TypeScript
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;