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