@trrack/core / ProduceWrappedStateChangeFunction
Type alias: ProduceWrappedStateChangeFunction<T>
Ƭ ProduceWrappedStateChangeFunction<T>: (state: T, args: any) => T
Type parameters
| Name |
|---|
T |
Type declaration
â–¸ (state, args): T
Parameters
| Name | Type |
|---|---|
state | T |
args | any |
Returns
T
Defined in
packages/core/src/registry/action.ts:14 (opens in a new tab)