Skip to content
Merged
Prev Previous commit
Next Next commit
Update packages/typegpu/src/data/disarray.ts
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
aleksanderkatan and Copilot authored Aug 7, 2025
commit b873cb0adc20ec4dd9cad8b7e37c3e094ebd9260
2 changes: 1 addition & 1 deletion packages/typegpu/src/data/disarray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function disarrayOf<TElement extends AnyData>(

if (!Number.isInteger(elementCount) || elementCount < 0) {
throw new Error(
`Cannot create array schema with invalid element count: ${elementCount}.`,
`Cannot create disarray schema with invalid element count: ${elementCount}.`,
);
}
disarraySchema.elementCount = elementCount;
Expand Down