mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 15:23:36 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -6,8 +6,10 @@ import { once } from 'node:events';
|
||||
|
||||
// Note: can be removed once https://github.com/nodejs/node/issues/54205 is
|
||||
// resolved and ported to Electron.
|
||||
export function toWebStream(readable: Readable): ReadableStream<Buffer> {
|
||||
let controller: ReadableStreamDefaultController<Buffer>;
|
||||
export function toWebStream(
|
||||
readable: Readable
|
||||
): ReadableStream<Buffer<ArrayBuffer>> {
|
||||
let controller: ReadableStreamDefaultController<Buffer<ArrayBuffer>>;
|
||||
|
||||
const cleanup = finished(readable, err => {
|
||||
cleanup();
|
||||
|
||||
Reference in New Issue
Block a user