publish.d.ts 507 B

123456
  1. import { Observable } from '../Observable';
  2. import { ConnectableObservable } from '../observable/ConnectableObservable';
  3. import { MonoTypeOperatorFunction, OperatorFunction, UnaryFunction } from '../interfaces';
  4. export declare function publish<T>(): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
  5. export declare function publish<T>(selector: MonoTypeOperatorFunction<T>): MonoTypeOperatorFunction<T>;
  6. export declare function publish<T, R>(selector: OperatorFunction<T, R>): OperatorFunction<T, R>;