diff --git a/components/upload/interface.tsx b/components/upload/interface.tsx index e1f4c37c08..c80380a6d9 100755 --- a/components/upload/interface.tsx +++ b/components/upload/interface.tsx @@ -24,7 +24,7 @@ export interface RcCustomRequestOptions { headers: object; } -export interface UploadFile { +export interface UploadFile { uid: string; size: number; name: string; @@ -36,7 +36,7 @@ export interface UploadFile { percent?: number; thumbUrl?: string; originFileObj?: File | Blob; - response?: any; + response?: T; error?: any; linkProps?: any; type: string;