packages/petiole/src/actionCreatorBuilders.js
function buildFromObject({ declaration, name, mapActionType }) {
  if (typeof declaration === 'object') {
    return () => ensureActionType(declaration, name, mapActionType);
  }
  return null;
}
function buildFromObject({ declaration, name, mapActionType }) {
  if (typeof declaration === 'object') {
    return () => ensureActionType(declaration, name, mapActionType);
  }
  return null;
}
function buildFromObject ( { declaration , name , mapActionType } ) { if ( typeof declaration === 'object' ) { return ( ) => ensureActionType ( declaration , name , mapActionType ) ; } return null ; }
Objects -> simplea action creator with fixed payload
Objects - > simplea action creator with fixed payload