UNPKG

ts-action-operators

Version:

TypeScript action operators for NgRx and redux-observable

4 lines (3 loc) 243 B
import { Observable } from "rxjs"; import { Action, ActionCreator, ActionType } from "ts-action"; export declare function ofType<C extends ActionCreator[]>(...creators: C): (source: Observable<Action>) => Observable<ActionType<C[number]>>;