Skip to content

Commit

Permalink
full file path
Browse files Browse the repository at this point in the history
  • Loading branch information
duke79 committed Jul 31, 2024
1 parent dbfe747 commit b89f6e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ipc/channels.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export type ChannelBody<T extends ToServer | ToClient> =
? AgentType[]
: // --- Save Code To File ---
T extends ToServer.SAVE_CODE_TO_FILE
? { filePath: string; code: string }
? { filePath: string; currentPath: string; code: string }
// --- Full file path ---
: T extends ToServer.GET_FULL_FILE_PATH
? { filePath: string }
? { filePath: string, currentPath: string }
: T extends ToClient.FULL_FILE_PATH
? string
: // --- Other Groups... ---
Expand Down

0 comments on commit b89f6e0

Please sign in to comment.