Front end of the Slack clone application.

1234567
  1. import { Observable } from '../Observable';
  2. import { ConnectableObservable } from '../observable/ConnectableObservable';
  3. export declare function publish<T>(this: Observable<T>): ConnectableObservable<T>;
  4. export declare function publish<T>(this: Observable<T>, selector: (source: Observable<T>) => Observable<T>): Observable<T>;
  5. export declare function publish<T, R>(this: Observable<T>, selector: (source: Observable<T>) => Observable<R>): Observable<R>;
  6. export declare type selector<T> = (source: Observable<T>) => Observable<T>;