use more specific type for upload

This commit is contained in:
Sinclair Chen 2022-08-04 15:28:59 -07:00
parent 506cab6c82
commit 075cbc9fdb

View File

@ -444,7 +444,7 @@ export function CommentInputTextArea(props: {
user: User | undefined | null
replyToUser?: { id: string; username: string }
editor: Editor | null
upload: any
upload: Parameters<typeof TextEditor>[0]['upload']
submitComment: (id?: string) => void
isSubmitting: boolean
submitOnEnter?: boolean