Skip to content

Commit 631e398

Browse files
fix(overmind): new reaction type returns a function
1 parent 31a0cda commit 631e398

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
@@ -47,7 +47,7 @@ export interface IReaction<ThisConfig extends IConfiguration> {
4747
nested?: boolean
4848
immediate?: boolean
4949
}
50-
): void
50+
): () => void
5151
}
5252

5353
export interface IAction<

0 commit comments

Comments
 (0)