mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-02 22:31:31 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -59,7 +59,7 @@ function addProgressHandler(
|
||||
// Explicitly stop the flow, otherwise we might emit 'data' before `fetch()`
|
||||
// starts reading the stream.
|
||||
readable.pause();
|
||||
readable.on('data', (chunk: Buffer) => {
|
||||
readable.on('data', (chunk: Buffer<ArrayBuffer>) => {
|
||||
bytesUploaded += chunk.byteLength;
|
||||
onProgress(bytesUploaded);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user