Type alias: OnChangeCallback()<T, Prop>
OnChangeCallback<
T
,Prop
>: (obj
,property
,oldValue
,newValue
) =>void
Callback to execute when a value of a property item is updated.
Type parameters
Type parameter |
---|
T extends PropertyBag |
Prop extends keyof T & string |
Parameters
Parameter | Type |
---|---|
obj | T |
property | Prop |
oldValue | object |
newValue | object |
Returns
void