Skip to content

Commit

Permalink
Converting DerivedProperty/Multilink to properly parameterized TypeSc…
Browse files Browse the repository at this point in the history
…ript, and usage of IReadOnlyProperty. See phetsims/axon#371
  • Loading branch information
jonathanolson committed Dec 8, 2021
1 parent 401036d commit a56a22f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/game/model/Subitizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -119,7 +120,7 @@ class Subitizer {
private timeSinceShapeVisible: number;
public readonly objectSize: number;
public readonly inputEnabledProperty: BooleanProperty;
private timeToShowShapeProperty: DerivedProperty<number>;
private timeToShowShapeProperty: IReadOnlyProperty<number>;
public objectTypeProperty: Property<SubitizeObjectTypeEnum>;
public isDelayStarted: boolean;
private timeSinceDelayStarted: number;
Expand Down

0 comments on commit a56a22f

Please sign in to comment.