diff --git a/frontend/local-client-cli/src/healthcheck.ts b/frontend/local-client-cli/src/healthcheck.ts index a16292d1..75c1906f 100644 --- a/frontend/local-client-cli/src/healthcheck.ts +++ b/frontend/local-client-cli/src/healthcheck.ts @@ -13,7 +13,12 @@ function isHealthStatus(value: unknown): value is NetworkConnectionStatus { return false; } - return true; + const obj = value as Record; + return ( + typeof obj.isSuccessful === "boolean" && + typeof obj.isWebSocketConnected === "boolean" && + typeof obj.serverMessage === "string" + ); } function main(): void {