chore: Remove obsolete 'any' type annotation (#4423)

This commit is contained in:
Haris Gušić
2025-11-17 21:27:43 +01:00
committed by GitHub
parent 0a2fffa9b5
commit c07a241ca8

View File

@@ -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