work.suroh.tk/node_modules/rxjs/operators/publish.d.ts

7 lines
507 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import { Observable } from '../Observable';
import { ConnectableObservable } from '../observable/ConnectableObservable';
import { MonoTypeOperatorFunction, OperatorFunction, UnaryFunction } from '../interfaces';
export declare function publish<T>(): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
export declare function publish<T>(selector: MonoTypeOperatorFunction<T>): MonoTypeOperatorFunction<T>;
export declare function publish<T, R>(selector: OperatorFunction<T, R>): OperatorFunction<T, R>;