mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-07 10:56:09 -10:00
chore: Remove obsolete 'any' type annotation (#4423)
This commit is contained in:
1 parent
0a2fffa9b5
commit
c07a241ca8
1 file changed
+1
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user