Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
fix(client): restore the typecheck gate, silence the Fast Refresh warning
trohitg7487218a52d7
diff --git a/client/src/components/output/AudioPreview.tsx b/client/src/components/output/AudioPreview.tsxindex 61cc1499..fe12ff4d 100644--- a/client/src/components/output/AudioPreview.tsx+++ b/client/src/components/output/AudioPreview.tsx@@ -22,7 +22,12 @@ export interface AudioRef {url?: string | null;}-/** Structural check — cheaper and more honest than trusting a uiHint alone. */+/**+ * Structural check — cheaper and more honest than trusting a uiHint alone.+ * Kept beside the AudioRef it narrows; the Fast Refresh rule below only+ * affects dev-time reloads, and moving this costs three files' imports.+ */+// eslint-disable-next-line react-refresh/only-export-componentsexport const isAudioRef = (value: unknown): value is AudioRef =>!!value &&typeof value === 'object' &&diff --git a/client/src/vite-env.d.ts b/client/src/vite-env.d.tsindex ae8e86db..69c7b408 100644--- a/client/src/vite-env.d.ts+++ b/client/src/vite-env.d.ts@@ -1,5 +1,6 @@/// <reference types="vite/client" />/// <reference types="google.maps" />+/// <reference types="node" />// `google.maps` namespace is exposed via @types/google.maps. tsc 5.x// auto-loads all @types/* packages, but tsgo (TypeScript 7 native// preview) does not pick the namespace up reliably under pnpm's