Skip to content

Commit

Permalink
expect ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Mar 22, 2024
1 parent f82df1c commit 5a86be1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/diff/children.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export function diffChildren(
childVNode._flags & INSERT_VNODE ||
oldVNode._children === childVNode._children
) {
// @ts-expect-error olDom should be present on a DOM node
if (oldDom && !oldDom.isConnected) {
oldDom = getDomSibling(oldVNode);
}
Expand Down

0 comments on commit 5a86be1

Please sign in to comment.