@laserware/stasis
    Preparing search index...

    Type Alias PayloadActionCreator<P, T, PA>

    PayloadActionCreator: IfPrepareActionMethodProvided<
        PA,
        _ActionCreatorWithPreparedPayload<PA, T>,
        IsAny<
            P,
            ActionCreatorWithPayload<any, T>,
            IsUnknownOrNonInferrable<
                P,
                ActionCreatorWithNonInferrablePayload<T>,
                IfVoid<
                    P,
                    ActionCreatorWithoutPayload<T>,
                    IfMaybeUndefined<
                        P,
                        ActionCreatorWithOptionalPayload<P, T>,
                        ActionCreatorWithPayload<P, T>,
                    >,
                >,
            >,
        >,
    >

    An action creator that produces actions with a payload attribute.

    Type Parameters

    • P = void

      the payload type

    • T extends string = string

      the type of the resulting action

    • PA extends PrepareAction<P> | void = void

      if the resulting action is preprocessed by a prepare method, the signature of said method.