Replace typescript compiler with native tsgo compiler

This commit is contained in:
Jamie
2026-03-17 14:38:10 -07:00
committed by GitHub
parent 3851a3905a
commit 023ae37492
207 changed files with 1819 additions and 1270 deletions

View File

@@ -19,10 +19,11 @@ export class StreamTimeoutError extends Error {}
export function getStreamWithTimeout(
stream: Readable,
{ name, timeout, abortController }: OptionsType
): Promise<Uint8Array> {
const { promise, resolve, reject } = explodePromise<Uint8Array>();
): Promise<Uint8Array<ArrayBuffer>> {
const { promise, resolve, reject } =
explodePromise<Uint8Array<ArrayBuffer>>();
const chunks = new Array<Uint8Array>();
const chunks = new Array<Uint8Array<ArrayBuffer>>();
let timer: NodeJS.Timeout | undefined;