mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-11 10:05:07 +08:00
fix transformFileHandler ts def
This commit is contained in:
parent
61ad79dde5
commit
7ad1068006
@ -53,7 +53,9 @@ export type UploadType = 'drag' | 'select';
|
||||
export type UploadListType = 'text' | 'picture' | 'picture-card';
|
||||
|
||||
type PreviewFileHandler = (file: File | Blob) => PromiseLike<string>;
|
||||
type TransformFileHandler = (file: UploadFile) => string | Blob | File | PromiseLike<string | Blob | File>;
|
||||
type TransformFileHandler = (
|
||||
file: RcFile,
|
||||
) => string | Blob | File | PromiseLike<string | Blob | File>;
|
||||
|
||||
export interface UploadProps {
|
||||
type?: UploadType;
|
||||
|
Loading…
Reference in New Issue
Block a user