MCPcopy
hub / github.com/reduxjs/redux / CounterState

Interface CounterState

examples/counter-ts/src/features/counter/counterSlice.ts:5–8  ·  examples/counter-ts/src/features/counter/counterSlice.ts::CounterState

Source from the content-addressed store, hash-verified

3import { fetchCount } from class="st">'./counterAPI';
4
5export interface CounterState {
6 value: number;
7 status: class="st">'idle' | class="st">'loading' | class="st">'failed';
8}
9
10const initialState: CounterState = {
11 value: 0,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected