use more specific type for upload
This commit is contained in:
parent
506cab6c82
commit
075cbc9fdb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user