Basic type for all action creators.

Inherit Doc

Type Parameters

  • T extends string = string

Hierarchy

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

    Parameters

    • noArgument: void

    Returns {
        payload: undefined;
        type: T;
    }

    • payload: undefined
    • type: T

Properties

Properties

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

Type declaration

    • (action): action is {
          payload: undefined;
          type: T;
      }
    • Parameters

      Returns action is {
          payload: undefined;
          type: T;
      }

type: T

Generated using TypeDoc