From b1ada9e204e21ea9cb2eeb2c327200188cd6ab8a Mon Sep 17 00:00:00 2001 From: James Murdza Date: Thu, 24 Oct 2024 17:37:12 -0600 Subject: [PATCH] fix: type errors from refactoring --- backend/server/src/SocketHandlers.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/server/src/SocketHandlers.ts b/backend/server/src/SocketHandlers.ts index da4f1fe..43a60cc 100644 --- a/backend/server/src/SocketHandlers.ts +++ b/backend/server/src/SocketHandlers.ts @@ -6,13 +6,13 @@ import { SecureGitClient } from "./SecureGitClient" import { TerminalManager } from "./TerminalManager" import { LockManager } from "./utils" -interface HandlerContext { +export interface HandlerContext { fileManager: FileManager; terminalManager: TerminalManager; sandboxManager: any; aiWorker: AIWorker; - dokkuClient: DokkuClient | undefined; - gitClient: SecureGitClient | undefined; + dokkuClient: DokkuClient | null; + gitClient: SecureGitClient | null; lockManager: LockManager }