Skip to content

Commit

Permalink
Remove unnecessary type assertion, see #164
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed May 4, 2023
1 parent b75825f commit 401127f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/common/model/CAVModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default class CAVModel {
public readonly medianPredictionProperty: NumberProperty;
public readonly meanPredictionProperty: NumberProperty;

// TODO: Why should this have an exclamation point?
public readonly selectedSceneModelProperty!: Property<CAVSceneModel>;

public readonly selectedSceneModelProperty: Property<CAVSceneModel>;
public readonly soccerBallHasBeenDraggedProperty: Property<boolean>;

public constructor( public readonly sceneModels: CAVSceneModel[], options: CAVModelOptions ) {
Expand Down

0 comments on commit 401127f

Please sign in to comment.