mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-11-06 00:58:44 +00:00
7 lines
531 B
TypeScript
7 lines
531 B
TypeScript
|
import { Observable } from '../Observable';
|
||
|
import { ConnectableObservable } from '../observable/ConnectableObservable';
|
||
|
export declare function publish<T>(this: Observable<T>): ConnectableObservable<T>;
|
||
|
export declare function publish<T>(this: Observable<T>, selector: (source: Observable<T>) => Observable<T>): Observable<T>;
|
||
|
export declare function publish<T, R>(this: Observable<T>, selector: (source: Observable<T>) => Observable<R>): Observable<R>;
|
||
|
export declare type selector<T> = (source: Observable<T>) => Observable<T>;
|