fix: stream var implicit type (#38)

This commit is contained in:
Montassar Ghanmy
2023-05-02 10:33:58 +01:00
committed by GitHub
parent 3a94d7386e
commit 73163e896f
@@ -84,7 +84,7 @@ export default class StorageService extends TdriveService<StorageAPI> 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();