Skip to content

Commit

Permalink
fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter York committed Aug 7, 2024
1 parent fdd1f21 commit 8c7bbbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/route_check/jat_check/guidance/Guidance.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@
// @ts-expect-error it's a faff to properly scope the type of this data
if (!specificGuidance && guidance[otherJunctionTypeWhichApplies]) {
// @ts-expect-error it's a faff to properly scope the type of this data
specificGuidance = guidance[otherJunctionTypeWhichApplies][movementType];
}
let result = JSON.parse(
let result = JSON.parse(
JSON.stringify(guidance["Any type of junction"]["All movements"]),
);
if (
Expand Down

0 comments on commit 8c7bbbe

Please sign in to comment.