fix: stream var implicit type (#38)
This commit is contained in:
@@ -84,7 +84,7 @@ export default class StorageService extends TdriveService<StorageAPI> implements
|
|||||||
|
|
||||||
const chunks = options?.totalChunks || 1;
|
const chunks = options?.totalChunks || 1;
|
||||||
let count = 1;
|
let count = 1;
|
||||||
let stream;
|
let stream: any;
|
||||||
async function factory(callback: (err?: Error, stream?: Stream) => unknown) {
|
async function factory(callback: (err?: Error, stream?: Stream) => unknown) {
|
||||||
if (count > chunks) {
|
if (count > chunks) {
|
||||||
callback();
|
callback();
|
||||||
|
|||||||
Reference in New Issue
Block a user