We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ad3977 commit 84b112eCopy full SHA for 84b112e
docs/middlewares/redux.md
@@ -70,7 +70,9 @@ type PersonStoreAction =
70
| { type: 'person/setLastName'; lastName: string }
71
| { type: 'person/setEmail'; email: string }
72
73
-type PersonStore = PersonStoreState & PersonStoreAction
+type PersonStore = PersonStoreState & {
74
+ dispatch: (action: PersonStoreAction) => PersonStoreAction
75
+}
76
77
const personStoreReducer = (
78
state: PersonStoreState,
0 commit comments