Skip to content

Commit 6bc95d6

Browse files
fix(overmind): just a typing issue
1 parent dffb006 commit 6bc95d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node_modules/overmind/src/internalTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export interface Events {
152152
// ============= PRIVATE TYPES FOR APP
153153

154154
export type ResolveState<State extends IState | null> = State extends undefined
155-
? {}
155+
? State
156156
: {
157157
[P in keyof State]: State[P] extends (parent: ResolveState<IState>, root: any) => any
158158
? ReturnType<State[P]>

0 commit comments

Comments
 (0)