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

This commit is contained in:
hello-chinese 2021-04-18 20:28:01 +08:00 committed by GitHub
parent 6407eac688
commit 7be721b663
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;