You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// When the thunk middleware is added, `store.dispatch` now has three overloads:
17
-
18
-
// 1) The base overload, which accepts a standard action object, and returns that action object
14
+
exportinterfaceThunkDispatch<
15
+
State,
16
+
ExtraThunkArg,
17
+
BasicActionextendsAction
18
+
>{
19
+
// When the thunk middleware is added, `store.dispatch` now has three overloads (NOTE: the order here matters for correct behavior and is very fragile - do not reorder these!):
19
20
20
-
// 2) The specific thunk function overload
21
+
// 1) The specific thunk function overload
21
22
/** Accepts a thunk function, runs it, and returns whatever the thunk itself returns */
0 commit comments