import { Action } from '../reducers/quiz' ; export const setPersonData = ( payload ) : Action => ( { payload , type : 'set person data' , } ) ; export const setPostData = ( payload ) : Action => ( { payload , type : 'set post data' , } ) ;