type: missing generic of Upload customRequest prop (#48612)

Signed-off-by: Jason Chen <3380894+jas0ncn@users.noreply.github.com>
This commit is contained in:
Jason Chen 2024-04-24 23:57:43 +08:00 committed by GitHub
parent 0dbbe8b9b7
commit b1ef8957ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,7 @@ export interface UploadProps<T = any> extends Pick<RcUploadProps, 'capture' | 'h
style?: React.CSSProperties;
disabled?: boolean;
prefixCls?: string;
customRequest?: (options: RcCustomRequestOptions) => void;
customRequest?: (options: RcCustomRequestOptions<T>) => void;
withCredentials?: boolean;
openFileDialogOnClick?: boolean;
locale?: UploadLocale;