Skip to content

Commit 79f1f30

Browse files
test(web): annotate the sibling-walk cursor to break the TS7022 inference cycle
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c13990a commit 79f1f30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/solid-web/test/frames-adopted-region-fragments.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function installSwapRuntime() {
6262
let o: ChildNode | null = document.getElementById("pl-" + e);
6363
if (!o) return 0;
6464
while (o && !(o.nodeType === 8 && o.nodeValue === "pl-" + e)) {
65-
const t = o.nextSibling;
65+
const t: ChildNode | null = o.nextSibling;
6666
o.remove();
6767
o = t;
6868
}

0 commit comments

Comments
 (0)