Skip to content

Commit fea7200

Browse files
committed
Update the prism proof to pass with node 24
1 parent 0822e65 commit fea7200

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exercises/practice/prism/.meta/proof.ci.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const findSequence = (start: Point, prisms: Prism[]): number[] => {
1717
const dirX = Math.cos(rad)
1818
const dirY = Math.sin(rad)
1919

20-
let nearest: Prism
20+
let nearest: Prism | undefined
2121
let nearestDist = Infinity
2222

2323
for (const prism of prisms) {

0 commit comments

Comments
 (0)