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 0685685 commit 4e9b48bCopy full SHA for 4e9b48b
packages/node_modules/overmind/src/Overmind.ts
@@ -8,7 +8,7 @@ import { proxifyEffects } from './proxyfyEffects'
8
import { rehydrate } from './rehydrate'
9
import { IConfiguration } from './types'
10
import * as utils from './utils'
11
-import { IReaction } from './types'
+import { IReaction, IContext } from './types'
12
13
const hotReloadingCache = {}
14
@@ -807,7 +807,7 @@ export class Overmind<ThisConfig extends IConfiguration>
807
getMutationTree(): proxyStateTree.IMutationTree<any> {
808
return this.proxyStateTreeInstance.getMutationTree()
809
}
810
- reaction: IReaction<ThisConfig> = (
+ reaction: IReaction<IContext<ThisConfig>> = (
811
stateCallback,
812
updateCallback,
813
options = {}
0 commit comments