Function partialEmpty

  • Creates an action description with no payload, given a module prefix, an action name and an optional simple partial reducer.

    Type Parameters

    • S = any

      The state type

    Parameters

    • prefix: string

      The prefix or module name to prepend to the action name to obtain a unique action type.

    • actionName: string

      The action name. Should be unique in the prefix.

    • aPartialReducer: SimplePartialReducerOf<S>

      An optional simple partial reducer function.

    Returns ActionDescEmpty<S>

Generated using TypeDoc