Skip to content

Commit 7599b8e

Browse files
committed
typecheck
1 parent a48342a commit 7599b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/repl/src/lib/Output/AstView.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
let path_nodes = $derived(find_deepest_path(cursor, [ast]) || []);
2121
2222
function find_deepest_path(cursor: number | null, paths: Ast[]): Ast[] | undefined {
23-
if (cursor === null) return null;
23+
if (cursor === null) return;
2424
const value = paths[paths.length - 1];
2525
26-
if (!value) return null;
26+
if (!value) return;
2727
2828
for (const v of Object.values(value)) {
2929
if (typeof v === 'object') {

0 commit comments

Comments
 (0)