Replace typescript compiler with native tsgo compiler

This commit is contained in:
Jamie
2026-03-18 11:26:18 -07:00
committed by GitHub
parent 5e6af4708b
commit c90ca2b4e0
207 changed files with 1819 additions and 1270 deletions

View File

@@ -294,10 +294,10 @@ export const readAndDecryptDataFromDisk = async ({
absolutePath: string;
keysBase64: string;
size: number;
}): Promise<Uint8Array> => {
}): Promise<Uint8Array<ArrayBuffer>> => {
const sink = new PassThrough();
const chunks = new Array<Buffer>();
const chunks = new Array<Buffer<ArrayBuffer>>();
sink.on('data', chunk => chunks.push(chunk));
sink.resume();
@@ -321,7 +321,7 @@ export const writeNewAttachmentData = async ({
data,
getAbsoluteAttachmentPath,
}: {
data: Uint8Array;
data: Uint8Array<ArrayBuffer>;
getAbsoluteAttachmentPath: (relativePath: string) => string;
}): Promise<LocalAttachmentV2Type> => {
const keys = generateKeys();