UNPKG

epix

Version:

Epics without redux-observable

7 lines 366 B
import { filter } from 'rxjs/operators'; // the typings of this functions are courtesy of URL below // https://github.com/redux-observable/redux-observable/blob/e0e658d17fd40eabe0f9c43e2a45db4aa1d1b3d3/src/operators.ts export function ofType(...types) { return filter((action) => types.some((key) => key === action.type)); } //# sourceMappingURL=operators.js.map