Skip to content

Commit 73a2f57

Browse files
committed
fix type hint
1 parent c60c10e commit 73a2f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/display.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function display(state: DisplayState, value: unknown): void {
1717

1818
function displayNode(state: DisplayState, node: Node): void {
1919
if (node.nodeType === 11) {
20-
let child;
20+
let child: ChildNode | null;
2121
while ((child = node.firstChild)) {
2222
state.root.appendChild(child);
2323
}

0 commit comments

Comments
 (0)