UNPKG

my-test123

Version:
17 lines 567 B
import * as WorkItemTypeActions from './../actions/work-item-type.actions'; import { initialState } from '../states/work-item-type.state'; export var WorkItemTypeReducer = function (state, action) { if (state === void 0) { state = initialState; } switch (action.type) { case WorkItemTypeActions.GET_SUCCESS: { return action.payload; } case WorkItemTypeActions.GET_ERROR: { return state; } default: { return state; } } }; //# sourceMappingURL=work-item-type.reducer.js.map