Skip to content

Commit 4fcca62

Browse files
committed
fix type error
1 parent 54ae961 commit 4fcca62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/common/services/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const safeJsonStringify = fromThrowable(JSON.stringify, (e) => {
8484
});
8585

8686
export const safeNewUint8ArrayFromBuffer = fromThrowable(
87-
(buffer: ArrayBufferLike) => new Uint8Array(buffer),
87+
(buffer: Buffer) => new Uint8Array(buffer),
8888
(e) => {
8989
if (e instanceof Error) {
9090
return e.message;

0 commit comments

Comments
 (0)