Skip to content

Commit 1e8dd43

Browse files
committed
There is no try, do it
1 parent 739d8f9 commit 1e8dd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export async function toBytes(
137137
}
138138

139139
export async function fromBytes(
140-
array: Uint8ClampedArray
140+
array: ArrayBufferView<ArrayBuffer>
141141
): Promise<HTMLImageElement> {
142142
const blob = new Blob([array]);
143143

0 commit comments

Comments
 (0)