From 73163e896f6bf67a5f14aa98851608b958212cac Mon Sep 17 00:00:00 2001 From: Montassar Ghanmy Date: Tue, 2 May 2023 10:33:58 +0100 Subject: [PATCH] fix: stream var implicit type (#38) --- tdrive/backend/node/src/core/platform/services/storage/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrive/backend/node/src/core/platform/services/storage/index.ts b/tdrive/backend/node/src/core/platform/services/storage/index.ts index 7c2c3ed5..b421000a 100644 --- a/tdrive/backend/node/src/core/platform/services/storage/index.ts +++ b/tdrive/backend/node/src/core/platform/services/storage/index.ts @@ -84,7 +84,7 @@ export default class StorageService extends TdriveService implements const chunks = options?.totalChunks || 1; let count = 1; - let stream; + let stream: any; async function factory(callback: (err?: Error, stream?: Stream) => unknown) { if (count > chunks) { callback();