type State = { count: number; }; const initialState: State = { count: 0 };