Browse Source

fix: fix type of RcFile

pull/16851/head
DiamondYuan 6 years ago
parent
commit
fa5d5e0a96
  1. 7
      components/upload/interface.tsx

7
components/upload/interface.tsx

@ -8,7 +8,12 @@ export interface HttpRequestHeader {
export interface RcFile extends File { export interface RcFile extends File {
uid: string; uid: string;
lastModifiedDate: Date; readonly name: string;
readonly type: string;
readonly lastModified: number;
readonly lastModifiedDate: Date;
readonly size: number;
readonly webkitRelativePath: string;
} }
export interface UploadFile { export interface UploadFile {

Loading…
Cancel
Save