From fdc425f23a222d7b9235f4d5dfcf87b03407779d Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Thu, 2 Mar 2023 13:47:13 -0700 Subject: [PATCH] Mark array members as readonly, see https://github.com/phetsims/quadrilateral/issues/398 --- js/quadrilateral/model/ShapeSnapshot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/quadrilateral/model/ShapeSnapshot.ts b/js/quadrilateral/model/ShapeSnapshot.ts index 5a0623f2..8298320e 100644 --- a/js/quadrilateral/model/ShapeSnapshot.ts +++ b/js/quadrilateral/model/ShapeSnapshot.ts @@ -36,7 +36,7 @@ export default class ShapeSnapshot { public readonly sideBCLength: number; public readonly sideDALength: number; public readonly sideCDLength: number; - private readonly sideLengths: number[]; + private readonly sideLengths: readonly number[]; public constructor( shapeModel: QuadrilateralShapeModel ) { this.isParallelogram = shapeModel.isParallelogramProperty.value;