• Calling this redux#ActionCreator with an argument will return a PayloadAction of type T with a payload of P. Calling it without an argument will return a PayloadAction with a payload of undefined.

    Parameters

    Returns {
        payload: Accounts;
        type: "pocket/setAccounts";
    }

    • payload: Accounts
    • type: "pocket/setAccounts"

Properties

Properties

match: ((action) => action is {
    payload: Accounts;
    type: "pocket/setAccounts";
})

Type declaration

    • (action): action is {
          payload: Accounts;
          type: "pocket/setAccounts";
      }
    • Parameters

      • action: Action<unknown>

      Returns action is {
          payload: Accounts;
          type: "pocket/setAccounts";
      }

type: "pocket/setAccounts"