export default { state: { count: 1, }, reducers: { add: (state: any, { payload }: any) => { state.count += 1; } } }