Skip to content

Commit

Permalink
Readonly array
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Sep 24, 2023
1 parent 59a2d07 commit 1cb1605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {IPngIhdr} from './types';
* @param arrays Uint8Array arrays.
* @returns Uint8Array array.
*/
export function concatUint8Arrays(arrays: Readonly<Uint8Array>[]) {
export function concatUint8Arrays(arrays: Readonly<Readonly<Uint8Array>[]>) {
let l = 0;
for (const a of arrays) {
l += a.length;
Expand Down

0 comments on commit 1cb1605

Please sign in to comment.