From c07a241ca80d65c9c9e4265ca4a38a65195b19cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haris=20Gu=C5=A1i=C4=87?= Date: Mon, 17 Nov 2025 21:27:43 +0100 Subject: [PATCH] chore: Remove obsolete 'any' type annotation (#4423) --- packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx index b33f2ac6..848857ea 100644 --- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx @@ -590,8 +590,7 @@ export function Prompt(props: PromptProps) { syncExtmarksWithPromptParts() }} keyBindings={textareaKeybindings()} - // TODO: fix this any - onKeyDown={async (e: any) => { + onKeyDown={async (e) => { if (props.disabled) { e.preventDefault() return