diff --git a/js/game/model/Subitizer.ts b/js/game/model/Subitizer.ts index 862f9141..cd9c3b58 100644 --- a/js/game/model/Subitizer.ts +++ b/js/game/model/Subitizer.ts @@ -16,6 +16,7 @@ import BooleanProperty from '../../../../axon/js/BooleanProperty.js'; import DerivedProperty from '../../../../axon/js/DerivedProperty.js'; +import IReadOnlyProperty from '../../../../axon/js/IReadOnlyProperty.js'; import NumberProperty from '../../../../axon/js/NumberProperty.js'; import Property from '../../../../axon/js/Property.js'; import Bounds2 from '../../../../dot/js/Bounds2.js'; @@ -119,7 +120,7 @@ class Subitizer { private timeSinceShapeVisible: number; public readonly objectSize: number; public readonly inputEnabledProperty: BooleanProperty; - private timeToShowShapeProperty: DerivedProperty; + private timeToShowShapeProperty: IReadOnlyProperty; public objectTypeProperty: Property; public isDelayStarted: boolean; private timeSinceDelayStarted: number;