Skip to content

Commit b24b787

Browse files
fix(overmind): fix typing of revertable
1 parent 1869e6f commit b24b787

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/overmind/src

1 file changed

+1
-1
lines changed

packages/node_modules/overmind/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export type IContext<ThisConfig extends IConfiguration> = {
3737
state: ResolveState<ThisConfig['state']>
3838
actions: ResolveActions<ThisConfig['actions']>
3939
effects: ThisConfig['effects']
40-
revertable: () => void
40+
revertable: (mutationsCallback: () => any) => void
4141
}
4242

4343
export interface IReaction<ThisConfig extends IConfiguration> {

0 commit comments

Comments
 (0)