You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "domoritz (via GitHub)" <gi...@apache.org> on 2023/06/11 17:22:05 UTC

[GitHub] [arrow] domoritz commented on a diff in pull request #36032: GH-36031: [JS]: Update dependencies

domoritz commented on code in PR #36032:
URL: https://github.com/apache/arrow/pull/36032#discussion_r1225871392


##########
js/src/util/buffer.ts:
##########
@@ -63,7 +63,7 @@ export function joinUint8Arrays(chunks: Uint8Array[], size?: number | null): [Ui
     // streaming, where we may be reading partial byte ranges out of the same underlying ArrayBuffer
     const result = collapseContiguousByteRanges(chunks);
     const byteLength = result.reduce((x, b) => x + b.byteLength, 0);
-    let source: Uint8Array, sliced: Uint8Array, buffer: Uint8Array | void;
+    let source: Uint8Array, sliced: Uint8Array, buffer: Uint8Array | undefined;

Review Comment:
   Without this change, TS is not happy. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org