diff --git a/packages/components/upload/src/types.ts b/packages/components/upload/src/types.ts index 7b8f48297..cacf8c05a 100644 --- a/packages/components/upload/src/types.ts +++ b/packages/components/upload/src/types.ts @@ -66,7 +66,7 @@ export const uploadProps = { }, accept: String, action: { - type: [String, Function] as PropType<(file: UploadFile) => Promise>, + type: [String, Function] as PropType) => Promise)>, required: true, }, dragable: {