export const action$ = new Subject() export const ofType = ( ...requiredTypes ) => ( filter(({ type }) => ( requiredTypes .includes(type) )), )