Skip to content

Commit 9f01a04

Browse files
fix(overmind): fix type related to onMutation dispose return type
1 parent cc576e0 commit 9f01a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node_modules/overmind/src/derived.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class Derived {
1616
private value: any
1717
private paths: Set<string>
1818
private updateCount: number = 0
19-
private disposeOnMutation: () => {}
19+
private disposeOnMutation: () => void
2020
constructor(private cb: (state: object, parent: object) => void) {
2121
const boundEvaluate: any = this.evaluate.bind(this)
2222

0 commit comments

Comments
 (0)