docs(components): [upload] correct the type of the file field (#22408)

This commit is contained in:
Zhong
2025-10-03 20:03:38 +08:00
committed by GitHub
parent de3b8b78cb
commit b9c69233ca

View File

@@ -183,7 +183,7 @@ interface UploadRequestOptions {
method: string
data: Record<string, string | Blob | [string | Blob, string]>
filename: string
file: File
file: UploadRawFile
headers: Headers | Record<string, string | number | null | undefined>
onError: (evt: UploadAjaxError) => void
onProgress: (evt: UploadProgressEvent) => void