import { Reducer } from 'redux' ; import { IVtxconfigSetStatus } from '../actions/actionTypes' ; import { VtxconfigSection } from '../../state/vtxconfig' ; export const VtxconfigSetStatusReducer = ( state , action ) : VtxconfigSection => ( { ... state , status : action . status } ) ;