fix type of uint8array
This commit is contained in:
@@ -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})
|
||||||
|
|||||||
Reference in New Issue
Block a user