Type alias ActionPayload<A, T>

ActionPayload<A, T>: {
    action: A;
    payload: T;
}

Represents the payload of an action.

Type Parameters

  • A extends Action

    type of the action

  • T

    type of the payload

Type declaration

  • action: A

    Action that was performed.

  • payload: T

    Payload that was used to perform the action.

Generated using TypeDoc