• 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

    • Optional payload: {
          followers: CommunityEntryType;
          following: CommunityEntryType;
          friends: CommunityEntryType;
      }
      • followers: CommunityEntryType
      • following: CommunityEntryType
      • friends: CommunityEntryType

    Returns {
        payload: {
            followers: CommunityEntryType;
            following: CommunityEntryType;
            friends: CommunityEntryType;
        };
        type: "currentAccount/setCommunity";
    }

    • payload: {
          followers: CommunityEntryType;
          following: CommunityEntryType;
          friends: CommunityEntryType;
      }
      • followers: CommunityEntryType
      • following: CommunityEntryType
      • friends: CommunityEntryType
    • type: "currentAccount/setCommunity"

Properties

Properties

match: ((action) => action is {
    payload: {
        followers: CommunityEntryType;
        following: CommunityEntryType;
        friends: CommunityEntryType;
    };
    type: "currentAccount/setCommunity";
})

Type declaration

    • (action): action is {
          payload: {
              followers: CommunityEntryType;
              following: CommunityEntryType;
              friends: CommunityEntryType;
          };
          type: "currentAccount/setCommunity";
      }
    • Parameters

      • action: Action<unknown>

      Returns action is {
          payload: {
              followers: CommunityEntryType;
              following: CommunityEntryType;
              friends: CommunityEntryType;
          };
          type: "currentAccount/setCommunity";
      }

type: "currentAccount/setCommunity"