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

@@ -120,7 +120,7 @@ const MINIMUM_JPEG_QUALITY = 0.1;
const ADDITIONAL_QUALITY_DECREASE_PER_ITERATION = 0.1;
export type CreatedThumbnailType = {
data: Uint8Array;
data: Uint8Array<ArrayBuffer>;
height: number;
width: number;
mimeType: MIMEType;
@@ -285,7 +285,7 @@ export async function makeVideoScreenshot({
}
export function makeObjectUrl(
data: Uint8Array | ArrayBuffer,
data: Uint8Array<ArrayBuffer> | ArrayBuffer,
contentType: MIMEType
): string {
const blob = new Blob([data], {