Defines a type for an action creator function that may accept a payload of a given type, which is optional.
Payload - The type of the action's payload, which defaults to undefined.
undefined
An object of type AnyAction that represents the dispatched action.
AnyAction
Optional
The optional payload for the action.
Generated using TypeDoc
Defines a type for an action creator function that may accept a payload of a given type, which is optional.
Typeparam
Payload - The type of the action's payload, which defaults to
undefined
.Returns
An object of type
AnyAction
that represents the dispatched action.