action creator function
plain action object containing type and paylaod
globally unique action type
Creates action handler object for usage in createReducer
function.
the actual handler function which receives mutable state draft and action paylaod.
Typeguard for checking if action is of given type.
Narrows action.payload
type to appropriate P
type
Generated using TypeDoc
Describes action with given type and payload type. Can be used as action creator function and provides other utilities.