mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
docs: update redux api docs (#3180)
* Update redux.md * Update redux.md
This commit is contained in:
parent
4ad3977b38
commit
84b112e4a2
@ -70,7 +70,9 @@ type PersonStoreAction =
|
||||
| { type: 'person/setLastName'; lastName: string }
|
||||
| { type: 'person/setEmail'; email: string }
|
||||
|
||||
type PersonStore = PersonStoreState & PersonStoreAction
|
||||
type PersonStore = PersonStoreState & {
|
||||
dispatch: (action: PersonStoreAction) => PersonStoreAction
|
||||
}
|
||||
|
||||
const personStoreReducer = (
|
||||
state: PersonStoreState,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user