Skip to content

Commit e23f57d

Browse files
fix(overmind): fix typing on nested actions
1 parent e9d1277 commit e23f57d

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
@@ -156,7 +156,7 @@ export interface Events {
156156
// ============= PRIVATE TYPES FOR APP
157157

158158
type NestedActions = {
159-
[key: string]: IAction<any, any> | IOperator<any, any> | NestedActions
159+
[key: string]: Function | NestedActions
160160
}
161161

162162
export type ResolveAction<T> = T extends IOperator<void, infer R>

0 commit comments

Comments
 (0)