@laserware/stasis
    Preparing search index...

    Interface ActionCreatorWithPayload<P, T>

    An action creator of type T that requires a payload of type P.

    Type Parameters

    • P
    • T extends string = string

    Hierarchy

    • BaseActionCreator<P, T>
      • ActionCreatorWithPayload
    • Calling this redux#ActionCreator with an argument will return a PayloadAction of type T with a payload of P

      Parameters

      • payload: P

      Returns { payload: P; type: T }