13 lines
405 B
TypeScript
13 lines
405 B
TypeScript
|
import { SetCurrentTimeBountyAction } from '../actionTypes/timeBounty';
|
||
|
import { TypeKeys } from 'actions/schedule';
|
||
|
|
||
|
type TSetCurrentTimeBounty = typeof setCurrentTimeBounty;
|
||
|
const setCurrentTimeBounty = (
|
||
|
payload: SetCurrentTimeBountyAction['payload']
|
||
|
): SetCurrentTimeBountyAction => ({
|
||
|
type: TypeKeys.CURRENT_TIME_BOUNTY_SET,
|
||
|
payload
|
||
|
});
|
||
|
|
||
|
export { setCurrentTimeBounty, TSetCurrentTimeBounty };
|