mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
fix: customRequest file interface (#25598)
This commit is contained in:
parent
fb869021aa
commit
cf9c08aca4
@ -14,12 +14,12 @@ export interface RcFile extends File {
|
||||
}
|
||||
|
||||
export interface RcCustomRequestOptions {
|
||||
onProgress: (event: { percent: number }, file: File) => void;
|
||||
onProgress: (event: { percent: number }, file: RcFile) => void;
|
||||
onError: (error: Error) => void;
|
||||
onSuccess: (response: object, file: File) => void;
|
||||
onSuccess: (response: object, file: RcFile) => void;
|
||||
data: object;
|
||||
filename: string;
|
||||
file: File;
|
||||
file: RcFile;
|
||||
withCredentials: boolean;
|
||||
action: string;
|
||||
headers: object;
|
||||
|
Loading…
Reference in New Issue
Block a user