Skip to content

Commit effa53c

Browse files
cast return value to ArrayBuffer
1 parent 435a6da commit effa53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helper/join-array-buffers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export const joinArrayBuffers = (arrayBuffers: ArrayBuffer[]) => {
77
return [ offset + arrayBuffer.byteLength, nt8Rry ];
88
}, [ 0, new Uint8Array(byteLength) ]);
99

10-
return uint8Array.buffer;
10+
return <ArrayBuffer> uint8Array.buffer;
1111
};

0 commit comments

Comments
 (0)