Browse Source

fix(types): Update Typescript definition Upload (#30188)

pull/30197/head
hello-chinese 4 years ago
committed by GitHub
parent
commit
7be721b663
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/upload/Upload.tsx

2
components/upload/Upload.tsx

@ -403,7 +403,7 @@ interface CompoundedComponent
React.PropsWithChildren<UploadProps> & React.RefAttributes<any>
> {
Dragger: typeof Dragger;
LIST_IGNORE: {};
LIST_IGNORE: string;
}
const Upload = React.forwardRef<unknown, UploadProps>(InternalUpload) as CompoundedComponent;

Loading…
Cancel
Save