From df7dc2f716c14d3627edbe6755f263ba8cd96da6 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 3 Apr 2026 21:48:17 +0900 Subject: [PATCH] fix(hooks): remove rogue setTimeout ambient declaration that broke typecheck --- .../summarize-retry-strategy.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hooks/anthropic-context-window-limit-recovery/summarize-retry-strategy.ts b/src/hooks/anthropic-context-window-limit-recovery/summarize-retry-strategy.ts index e776bcf39..b409eb04c 100644 --- a/src/hooks/anthropic-context-window-limit-recovery/summarize-retry-strategy.ts +++ b/src/hooks/anthropic-context-window-limit-recovery/summarize-retry-strategy.ts @@ -17,7 +17,6 @@ import { log } from "../../shared/logger" const SUMMARIZE_RETRY_TOTAL_TIMEOUT_MS = 120_000 -declare function setTimeout(handler: () => void, timeout?: number): unknown async function showToastSafely( client: Client,