import { Reducer } from 'redux' ; import { VtxeventsSection } from '../../state/vtxevents' ; import { IVtxeventsAdd } from '../actions/actionTypes' ; export const VtxeventsAddReducer = ( state , action ) : VtxeventsSection [ ] => [ ... state , action . event ] ;