We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03085ce commit 038dbd8Copy full SHA for 038dbd8
packages/node_modules/overmind/src/internalTypes.ts
@@ -154,7 +154,7 @@ export interface Events {
154
export type ResolveState<State extends IState | null> = State extends undefined
155
? {}
156
: {
157
- [P in keyof State]: State[P] extends IDerive<IConfiguration, IState, any>
+ [P in keyof State]: State[P] extends (parent: ResolveState<IState>, root: any) => any
158
? ReturnType<State[P]>
159
: State[P] extends Array<any>
160
? State[P]
0 commit comments