mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-19 00:34:23 +01:00
chore: Remove obsolete 'any' type annotation (#4423)
This commit is contained in:
@@ -590,8 +590,7 @@ export function Prompt(props: PromptProps) {
|
|||||||
syncExtmarksWithPromptParts()
|
syncExtmarksWithPromptParts()
|
||||||
}}
|
}}
|
||||||
keyBindings={textareaKeybindings()}
|
keyBindings={textareaKeybindings()}
|
||||||
// TODO: fix this any
|
onKeyDown={async (e) => {
|
||||||
onKeyDown={async (e: any) => {
|
|
||||||
if (props.disabled) {
|
if (props.disabled) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user