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();