Interface ActionDescBase<S>

Describes an action in a non-typed way, for a given state type.

Type Parameters

  • S

    The state type

Hierarchy

Properties

actionName: string

The name of the action

Memberof

ActionDescBase

hasPayload: boolean

Indicates whether the action instances has payload or not.

Memberof

ActionDescBase

is: ((action: Action) => boolean)

Type declaration

    • (action: Action): boolean
    • Returns whether a given action has the same type af this descriptor

      Memberof

      ActionDescBase

      Parameters

      • action: Action

      Returns boolean

prefix: string

The prefix of the action.

Memberof

ActionDescBase

reducer: ReducerOf<S, any>

The reducer of the action for the given state type

Memberof

ActionDescBase

type: string

The type of the action. This is the same value as the action type created using the create function in one of the descending interfaces.

Memberof

ActionDescBase

Generated using TypeDoc