Skip to content

Commit d705546

Browse files
Update src/utils.ts
Co-authored-by: Andrei Pechkurov <[email protected]>
1 parent adf94c3 commit d705546

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
@@ -72,7 +72,7 @@ function validateArray(data: unknown[], dimensions: number[]): ArrayPrimitive {
7272
const expectedLength = dimensions[depth];
7373
if (array.length !== expectedLength) {
7474
throw new Error(
75-
`Length of arrays do not match [expected=${expectedLength}, actual=${array.length}, dimensions=[${dimensions}], path=${path}]`,
75+
`Lengths of sub-arrays do not match [expected=${expectedLength}, actual=${array.length}, dimensions=[${dimensions}], path=${path}]`,
7676
);
7777
}
7878

0 commit comments

Comments
 (0)