Skip to content

Commit 4e9b48b

Browse files
fix(overmind): fix typing issue with reaction
1 parent 0685685 commit 4e9b48b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/node_modules/overmind/src/Overmind.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { proxifyEffects } from './proxyfyEffects'
88
import { rehydrate } from './rehydrate'
99
import { IConfiguration } from './types'
1010
import * as utils from './utils'
11-
import { IReaction } from './types'
11+
import { IReaction, IContext } from './types'
1212

1313
const hotReloadingCache = {}
1414

@@ -807,7 +807,7 @@ export class Overmind<ThisConfig extends IConfiguration>
807807
getMutationTree(): proxyStateTree.IMutationTree<any> {
808808
return this.proxyStateTreeInstance.getMutationTree()
809809
}
810-
reaction: IReaction<ThisConfig> = (
810+
reaction: IReaction<IContext<ThisConfig>> = (
811811
stateCallback,
812812
updateCallback,
813813
options = {}

0 commit comments

Comments
 (0)