소스 검색

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

Haris Gušić 5 달 전
부모
커밋
c07a241ca8
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

+ 1 - 2
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