mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 01:10:03 +02:00
fix: update progress bar start to use 'any' type for length
This commit is contained in:
parent
1bc5e4772e
commit
3a42ad5825
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export async function downloadFileToLocation(
|
|||
})
|
||||
: process.stdout,
|
||||
})
|
||||
progressBar.start(length as number, receivedBytes)
|
||||
progressBar.start(length as any, receivedBytes)
|
||||
|
||||
data.on('data', (chunk: { length: number }) => {
|
||||
receivedBytes += chunk.length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue