The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
style(desktop): type remaining callback declarations explicitly
ethernet6f987811f3b0
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex 913f5f1e39b..f2d537ce9d1 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -17390,7 +17390,7 @@ async function probeUninstallSummary(): Promise<UninstallSummaryDetails> {let stdout: string = ''let settled: boolean = false- const done = (value: UninstallSummaryDetails): void => {+ const done: (value: UninstallSummaryDetails) => void = (value: UninstallSummaryDetails): void => {if (settled) {return}diff --git a/apps/desktop/src/app/settings/uninstall-section.tsx b/apps/desktop/src/app/settings/uninstall-section.tsxindex 8ae2a188771..8fb08e6102f 100644--- a/apps/desktop/src/app/settings/uninstall-section.tsx+++ b/apps/desktop/src/app/settings/uninstall-section.tsx@@ -88,7 +88,7 @@ export function UninstallSection(): ReactElement | null {const agentInstalled: boolean = summary.agent_installedconst visibleOptions: ModeOption[] = OPTIONS.filter((opt: ModeOption): boolean => agentInstalled || !opt.needsAgent)- const handleConfirm = async (): Promise<void> => {+ const handleConfirm: () => Promise<void> = async (): Promise<void> => {if (!pending) {return}diff --git a/apps/desktop/src/app/shell/hooks/use-status-snapshot.test.ts b/apps/desktop/src/app/shell/hooks/use-status-snapshot.test.tsindex 461a619dd30..58141fdde65 100644--- a/apps/desktop/src/app/shell/hooks/use-status-snapshot.test.ts+++ b/apps/desktop/src/app/shell/hooks/use-status-snapshot.test.ts@@ -48,7 +48,7 @@ describe('useStatusSnapshot', () => {expect(warning).toBeTypeOf('string')- const wrapper = ({ children }: { children: ReactNode }): ReactElement =>+ const wrapper: (props: { children: ReactNode }) => ReactElement = ({ children }: { children: ReactNode }): ReactElement =>createElement(I18nProvider, { configClient: null, initialLocale: locale, children })const requestGateway: GatewayRequester = vi.fn().mockResolvedValue({}) as unknown as GatewayRequester