We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a007f commit 8e666beCopy full SHA for 8e666be
front/src/modules/pathfinding/utils.ts
@@ -16,10 +16,7 @@ import { getPointOnTrackCoordinates } from 'utils/geometry';
16
17
import getStepLocation from './helpers/getStepLocation';
18
19
-export const matchPathStepAndOp = (
20
- step: PathItemLocation,
21
- op: Pick<SuggestedOP, 'opId' | 'uic' | 'ch' | 'trigram' | 'track' | 'offsetOnTrack'>
22
-) => {
+const matchPathStepAndOp = (step: PathItemLocation, op: SuggestedOP) => {
23
if ('operational_point' in step) {
24
return step.operational_point === op.opId;
25
}
0 commit comments