Skip to content

Interface: PendingStateChange<T, K>

The shape of the pending state changes for a model.

Type Parameters

Type Parameter
T extends PlainObject
K extends StringKeyOf<T>

Properties

PropertyTypeDescription
isT[K]The value that is being changed to.
propertyKThe property that is being changed.
wasundefined | T[K]The value that is being changed from.