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