Skip to content

Commit 2859c70

Browse files
committed
Merge branch 'main' of github.com:taoqf/node-html-parser
2 parents fc367fa + 68d7836 commit 2859c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodes/html.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ export default class HTMLElement extends Node {
616616
},
617617
});
618618
if (e) {
619-
return e;
619+
return e as HTMLElement;
620620
}
621621
el = el.parentNode;
622622
}

0 commit comments

Comments
 (0)