From bd8f5fd5d4ccf4e4a2cfb4d2d1a815f3b9e90813 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Mon, 31 Jul 2023 18:36:00 +0000 Subject: [PATCH] explicit type declar for gzip --- packages/artifact/src/internal/upload-gzip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/artifact/src/internal/upload-gzip.ts b/packages/artifact/src/internal/upload-gzip.ts index 0675aa33..7c04a277 100644 --- a/packages/artifact/src/internal/upload-gzip.ts +++ b/packages/artifact/src/internal/upload-gzip.ts @@ -80,7 +80,7 @@ export async function createGZipFileInBuffer( const gzip = zlib.createGzip() inputStream.pipe(gzip) // read stream into buffer, using experimental async iterators see https://github.com/nodejs/readable-stream/issues/403#issuecomment-479069043 - const chunks = [] + const chunks: Uint8Array[] = [] for await (const chunk of gzip) { chunks.push(chunk) }