subscribeToArray.d.ts 260 B

123456
  1. import { Subscriber } from '../Subscriber';
  2. /**
  3. * Subscribes to an ArrayLike with a subscriber
  4. * @param array The array or array-like to subscribe to
  5. */
  6. export declare const subscribeToArray: <T>(array: ArrayLike<T>) => (subscriber: Subscriber<T>) => void;