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
|
user: User | undefined | null
|
||||||
replyToUser?: { id: string; username: string }
|
replyToUser?: { id: string; username: string }
|
||||||
editor: Editor | null
|
editor: Editor | null
|
||||||
upload: any
|
upload: Parameters<typeof TextEditor>[0]['upload']
|
||||||
submitComment: (id?: string) => void
|
submitComment: (id?: string) => void
|
||||||
isSubmitting: boolean
|
isSubmitting: boolean
|
||||||
submitOnEnter?: boolean
|
submitOnEnter?: boolean
|
||||||
|
|
Loading…
Reference in New Issue
Block a user