fix type of uint8array

This commit is contained in:
Samuel Newman
2025-09-11 12:10:48 +03:00
parent be56364733
commit a99fae861e
+1 -1
View File
@@ -157,7 +157,7 @@ function createResizedImage(
export async function saveBytesToDisk( export async function saveBytesToDisk(
filename: string, filename: string,
bytes: Uint8Array, bytes: Uint8Array<ArrayBuffer>,
type: string, type: string,
) { ) {
const blob = new Blob([bytes], {type}) const blob = new Blob([bytes], {type})