The open source coding agent.
TypeScript
chore: Remove obsolete 'any' type annotation (#4423)
Haris Gušićc07a241ca80d
diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsxindex b33f2ac63f9..848857ea184 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