mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +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