UNPKG

epix

Version:

Epics without redux-observable

4 lines (3 loc) 292 B
import { OperatorFunction } from 'rxjs'; import { ActionLike } from './types/ActionLike.js'; export declare function ofType<Input extends ActionLike, Type extends Input['type'], Output extends Input = Extract<Input, ActionLike>>(...types: [Type, ...Type[]]): OperatorFunction<Input, Output>;