@laserware/stasis
    Preparing search index...

    Interface ActionCreatorWithPreparedPayload<Args, P, T, E, M>

    An action creator that takes multiple arguments that are passed to a PrepareAction method to create the final Action.

    Type Parameters

    • Args extends unknown[]

      arguments for the action creator function

    • P

      payload type

    • T extends string = string

      type name

    • E = never

      optional error type

    • M = never

      optional meta type

    Hierarchy

    • BaseActionCreator<P, T, M, E>
      • ActionCreatorWithPreparedPayload
    • Calling this redux#ActionCreator with Args will return an Action with a payload of type P and (depending on the PrepareAction method used) a meta- and error property of types M and E respectively.

      Parameters

      Returns PayloadAction<P, T, M, E>