Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

278 B
Raw Blame
export interface StoreSetter<TStore> {
  (
    partial: TStore | Partial<TStore> | ((state: TStore) => TStore | Partial<TStore>),
    replace?: false | undefined,
    action?: any,
  ): void;
  (state: TStore | ((state: TStore) => TStore), replace: true, action?: any): void;
}