Skip to content

Commit eb47a0f

Browse files
jaller94Christian Paul
andauthored
ManagedUpload.send's callback may return null instead of an Error (#3904)
Co-authored-by: Christian Paul <[email protected]>
1 parent e10b9c5 commit eb47a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/s3/managed_upload.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class ManagedUpload {
1616
/**
1717
* Initiates the managed upload for the payload.
1818
*/
19-
send(callback?: (err: AWSError, data: ManagedUpload.SendData) => void): void;
19+
send(callback?: (err: AWSError|null, data: ManagedUpload.SendData) => void): void;
2020
/**
2121
* Adds a listener that is triggered when theuploader has uploaded more data.
2222
*

0 commit comments

Comments
 (0)