Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
export const INCREMENT_COUNT = 'INCREMENT_COUNT';
interface IncrementCountAction {
type: typeof INCREMENT_COUNT;
payload: number; // Payload now specifically expects a number
}
export const incrementCount = (amount: number): IncrementCountAction => ({
type: INCREMENT_COUNT,
payload: amount,
});