Skip to content

Commit

Permalink
https://github.com/phetsims/graphing-lines/issues/139
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Apr 24, 2023
1 parent dda5e41 commit 9d70c81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion js/linegame/view/GraphTheLineNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ export default class GraphTheLineNode extends ChallengeNode {
return new GraphSlopeInterceptNode( challenge );
}
else if ( challenge.manipulationMode === ManipulationMode.TWO_POINTS ) {
// @ts-expect-error Argument of type 'GraphTheLine' is not assignable to parameter of type 'PlaceThePoints'.
return new GraphTwoPointsNode( challenge );
}
else {
Expand Down
4 changes: 2 additions & 2 deletions js/linegame/view/GraphTwoPointsNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import Line from '../../common/model/Line.js';
import graphingLines from '../../graphingLines.js';
import LineGameConstants from '../LineGameConstants.js';
import ChallengeGraphNode from './ChallengeGraphNode.js';
import PlaceThePoints from '../model/PlaceThePoints.js';
import NotALine from '../model/NotALine.js';
import GraphTheLine from '../model/GraphTheLine.js';

export default class GraphTwoPointsNode extends ChallengeGraphNode {

private readonly disposeGraphTwoPointsNode: () => void;

public constructor( challenge: PlaceThePoints ) {
public constructor( challenge: GraphTheLine ) {

super( challenge );

Expand Down

0 comments on commit 9d70c81

Please sign in to comment.