A decorator function that generates an action creator for a specific function.
Example
exportclassRoutesReducerextendsAbstractReducer {
// optional static var to allow to add type's for auto-complete // ActionPayload< payload interface / state > staticoverrideactions: ActionPayload<RoutesReducer>;
A decorator function that generates an action creator for a specific function.
Example