sesaparcours
    Preparing search index...

    Basic type for all action creators.

    interface ActionCreatorWithoutPayload<T extends string = string> {
        match: (
            action: Action<unknown>,
        ) => action is { payload: undefined; type: T };
        type: T;
        (noArgument: void): { payload: undefined; type: T };
    }

    Type Parameters

    • T extends string = string

    Hierarchy (View Summary)

    • Calling this redux#ActionCreator will return a PayloadAction of type T with a payload of undefined

      Parameters

      • noArgument: void

      Returns { payload: undefined; type: T }

    Index

    Properties

    Properties

    match: (action: Action<unknown>) => action is { payload: undefined; type: T }
    type: T