From eb47a0f5efbb39f4b255fc0510a3c36ef3994062 Mon Sep 17 00:00:00 2001 From: Christian Paul Date: Fri, 13 Oct 2023 23:42:29 +0800 Subject: [PATCH] ManagedUpload.send's callback may return null instead of an Error (#3904) Co-authored-by: Christian Paul --- lib/s3/managed_upload.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/s3/managed_upload.d.ts b/lib/s3/managed_upload.d.ts index 9cbebdb8eb..c1a2eb74a6 100644 --- a/lib/s3/managed_upload.d.ts +++ b/lib/s3/managed_upload.d.ts @@ -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. *