From 6e3194301f62d2138d79e4deda17da45baaed55d Mon Sep 17 00:00:00 2001 From: a7m-1st Date: Sat, 8 Nov 2025 19:28:05 +0300 Subject: [PATCH] enhance: update types --- src/lib/replay.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/replay.ts b/src/lib/replay.ts index 6e935172b..f5278eb6e 100644 --- a/src/lib/replay.ts +++ b/src/lib/replay.ts @@ -1,3 +1,5 @@ +import { ChatStore } from "@/store/chatStore"; +import { ProjectStore } from "@/store/projectStore"; import { NavigateFunction } from "react-router-dom"; /** @@ -11,7 +13,7 @@ import { NavigateFunction } from "react-router-dom"; * @param historyId - The history ID for the replay */ export const replayProject = async ( - projectStore: any, + projectStore: ProjectStore, navigate: NavigateFunction, projectId: string, question: string, @@ -36,8 +38,8 @@ export const replayProject = async ( * @param navigate - The navigate function from useNavigate hook */ export const replayActiveTask = async ( - chatStore: any, - projectStore: any, + chatStore: ChatStore, + projectStore: ProjectStore, navigate: NavigateFunction ) => { const taskId = chatStore.activeTaskId as string;