Skip to content

Commit

Permalink
allow empty objects for fields types (#4631)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Aug 18, 2023
1 parent 8347c84 commit 3205cc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@uppy/aws-s3-multipart/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type AwsS3UploadParameters = {
} | {
method?: 'PUT'
url: string
fields?: never
fields?: Record<string, never>
expires?: number
headers?: Record<string, string>
}
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/aws-s3/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type AwsS3UploadParameters = {
} | {
method: 'PUT'
url: string
fields?: never
fields?: Record<string, never>
expires?: number
headers?: Record<string, string>
}
Expand Down

0 comments on commit 3205cc3

Please sign in to comment.