Skip to content

Commit a228521

Browse files
committed
fix(overmind): fix TDerive arguments order
1 parent 992310c commit a228521

File tree

1 file changed

+2
-2
lines changed
  • packages/node_modules/overmind/src

1 file changed

+2
-2
lines changed

packages/node_modules/overmind/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export type TOperator<Input, Output, OperatorContext extends TContext<any>> = (
5151
) => void
5252

5353
export type TDerive<App extends BaseApp, Value, Parent extends object = {}> = (
54-
parent: ResolveState<Parent>,
55-
state: App['state']
54+
state: App['state'],
55+
parent: ResolveState<Parent>
5656
) => Value
5757

5858
export type TReaction<App extends BaseApp> = (

0 commit comments

Comments
 (0)