diff options
| author | Haris Gušić <[email protected]> | 2025-11-17 21:27:43 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-17 14:27:43 -0600 |
| commit | c07a241ca80d65c9c9e4265ca4a38a65195b19cb (patch) | |
| tree | 9a5df4a38c42fefac67bdb2fc291077cafdcd1ea | |
| parent | 0a2fffa9b5e6275709a3d87ccf2b11d508d13137 (diff) | |
| download | opencode-c07a241ca80d65c9c9e4265ca4a38a65195b19cb.tar.gz opencode-c07a241ca80d65c9c9e4265ca4a38a65195b19cb.zip | |
chore: Remove obsolete 'any' type annotation (#4423)
| -rw-r--r-- | packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx | 3 |
1 files changed, 1 insertions, 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 b33f2ac63..848857ea1 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 |
