From eba3ab64165ef42fdd512b4bc4b6a27b6a7e51d1 Mon Sep 17 00:00:00 2001 From: Borewit Date: Mon, 11 Nov 2019 21:24:04 +0100 Subject: [PATCH] Option flag disableChunked should be optional Fix issue #7 --- lib/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/index.ts b/lib/index.ts index 8768561..83f5b0e 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -16,13 +16,13 @@ export type INativeTagDict = Type.INativeTagDict; interface IS3Options extends IOptions { /** - * Disable chunked transfer, use conventional stream + * Flag to disable chunked transfer, use conventional HTTPS stream instead */ - disableChunked: boolean; + disableChunked?: boolean; } /** - * Use S3-client to execute actual HTTP-requests + * Use S3-client to execute actual HTTP-requests. */ class S3Request implements IHttpClient {