• 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

    • Optionalpayload: {
          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<unknown>) => action is {
    payload: {
        followers: CommunityEntryType;
        following: CommunityEntryType;
        friends: CommunityEntryType;
    };
    type: "currentAccount/setCommunity";
})
type: "currentAccount/setCommunity"