From ab8d7dc994cef734b83c3ea696a1c252707f834a Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Thu, 5 Jan 2023 12:15:41 -0700 Subject: [PATCH] Use RangedProperty for better typescript implementation. https://github.com/phetsims/axon/issues/425 --- js/buoyancy/model/Boat.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/buoyancy/model/Boat.ts b/js/buoyancy/model/Boat.ts index fe1e6f06..7d5a0961 100644 --- a/js/buoyancy/model/Boat.ts +++ b/js/buoyancy/model/Boat.ts @@ -9,7 +9,6 @@ import NumberProperty from '../../../../axon/js/NumberProperty.js'; import StrictOmit from '../../../../phet-core/js/types/StrictOmit.js'; -import Property from '../../../../axon/js/Property.js'; import Utils from '../../../../dot/js/Utils.js'; import { Shape } from '../../../../kite/js/imports.js'; import ThreeUtils from '../../../../mobius/js/ThreeUtils.js'; @@ -31,7 +30,7 @@ export type BoatOptions = StrictOmit; + public readonly displacementVolumeProperty: NumberProperty; public readonly liquidMaterialProperty: TProperty; public readonly basin: BoatBasin;