UNPKG

juliette

Version:
6 lines (5 loc) 456 B
import { MonoTypeOperatorFunction, OperatorFunction } from 'rxjs'; import { Handler, HandlerCreator } from './models'; export declare function ofType<S, P>(handlerCreator: HandlerCreator<S, P>): OperatorFunction<Handler<any, any>, Handler<S, P>>; export declare function ofType(...handlerCreators: HandlerCreator<any, any>[]): MonoTypeOperatorFunction<Handler<any, any>>; export declare function toPayload<S, P>(): OperatorFunction<Handler<S, P>, P>;