Skip to content

Commit

Permalink
ManagedUpload.send's callback may return null instead of an Error (#3904
Browse files Browse the repository at this point in the history
)

Co-authored-by: Christian Paul <christianp@element.io>
  • Loading branch information
jaller94 and Christian Paul authored Oct 13, 2023
1 parent e10b9c5 commit eb47a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/s3/managed_upload.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ManagedUpload {
/**
* Initiates the managed upload for the payload.
*/
send(callback?: (err: AWSError, data: ManagedUpload.SendData) => void): void;
send(callback?: (err: AWSError|null, data: ManagedUpload.SendData) => void): void;
/**
* Adds a listener that is triggered when theuploader has uploaded more data.
*
Expand Down

0 comments on commit eb47a0f

Please sign in to comment.