Skip to content

Commit

Permalink
Update preact.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdmulder authored Aug 6, 2024
1 parent 318c3d0 commit 8b046de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ts/preact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function createRootFragment(parent: Element, replaceNode: Element | Element[]) {
parentNode: parent,
firstChild: replaceNodes[0],
childNodes: replaceNodes,
contains: (c) => parent.contains(c),
contains: (c: Node) => parent.contains(c),
insertBefore: insert,
appendChild: (c: Node) => insert(c, null),
removeChild: function (c: Node) {
Expand Down

0 comments on commit 8b046de

Please sign in to comment.