Skip to content

Commit

Permalink
fix: Fixed lint finding: no-unsafe-enum-comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
makimenko committed Jan 15, 2024
1 parent 32adb73 commit 184a668
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class DagreEdgeComponent extends LineConnectorComponent implements OnInit
}
}

protected getConnectorEndGeometry(type: string): THREE.BufferGeometry | undefined {
protected getConnectorEndGeometry(type: LineEndType): THREE.BufferGeometry | undefined {
switch (type) {
case LineEndType.circle:
return new THREE.CircleGeometry(0.7, 16);
Expand Down

0 comments on commit 184a668

Please sign in to comment.