ee7886899b959e99f7e511a7fad5f9cca3cf9ab679db5c50719d9a54c81f22db75f86228dbfcf9066093b6d8cad58ed0ee4b946e54ae6f36e72608e8679d61 720 B

123456789101112131415
  1. import { Observable } from '../Observable';
  2. import { Subscriber } from '../Subscriber';
  3. import { OperatorFunction } from '../types';
  4. /**
  5. * Used to determine if an object is an Observable with a lift function.
  6. */
  7. export declare function hasLift(source: any): source is {
  8. lift: InstanceType<typeof Observable>['lift'];
  9. };
  10. /**
  11. * Creates an `OperatorFunction`. Used to define operators throughout the library in a concise way.
  12. * @param init The logic to connect the liftedSource to the subscriber at the moment of subscription.
  13. */
  14. export declare function operate<T, R>(init: (liftedSource: Observable<T>, subscriber: Subscriber<R>) => (() => void) | void): OperatorFunction<T, R>;
  15. //# sourceMappingURL=lift.d.ts.map