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 cc6522c commit 11f94f2Copy full SHA for 11f94f2
dash/dash-renderer/src/observers/executedCallbacks.ts
@@ -11,6 +11,9 @@ import {
11
pathOr
12
} from 'ramda';
13
14
+import {ThunkDispatch} from 'redux-thunk';
15
+import {AnyAction} from 'redux';
16
+
17
import {IStoreState} from '../store';
18
19
import {
@@ -63,7 +66,7 @@ const observer: IStoreObserverDefinition<IStoreState> = {
63
66
// In case the update contains whole components, see if any of
64
67
// those components have props to update to persist user edits.
65
68
const {props} = applyPersistence({props: updatedProps}, dispatch);
- dispatch(
69
+ (dispatch as ThunkDispatch<any, any, AnyAction>)(
70
updateProps({
71
itempath,
72
props,
0 commit comments