From 1c7b61fd4539fb46361d3de19d754459cc9bddc7 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 17 Aug 2023 17:30:04 +0200 Subject: [PATCH] allow empty objects for `fields` types --- packages/@uppy/aws-s3-multipart/types/index.d.ts | 2 +- packages/@uppy/aws-s3/types/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@uppy/aws-s3-multipart/types/index.d.ts b/packages/@uppy/aws-s3-multipart/types/index.d.ts index aebe139d29..4e00aa79c6 100644 --- a/packages/@uppy/aws-s3-multipart/types/index.d.ts +++ b/packages/@uppy/aws-s3-multipart/types/index.d.ts @@ -11,7 +11,7 @@ export type AwsS3UploadParameters = { } | { method?: 'PUT' url: string - fields?: never + fields?: Record expires?: number headers?: Record } diff --git a/packages/@uppy/aws-s3/types/index.d.ts b/packages/@uppy/aws-s3/types/index.d.ts index 5d43dd28f3..04b1104140 100644 --- a/packages/@uppy/aws-s3/types/index.d.ts +++ b/packages/@uppy/aws-s3/types/index.d.ts @@ -12,7 +12,7 @@ export type AwsS3UploadParameters = { } | { method: 'PUT' url: string - fields?: never + fields?: Record expires?: number headers?: Record }