Skip to content

Commit

Permalink
chore(types): disambiguate the Comment type in hydration.ts (#12009)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen authored Sep 24, 2024
1 parent a177092 commit 5d9e81d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/src/hydration.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
Comment,
Fragment,
Static,
Text,
Comment as VComment,
type VNode,
type VNodeHook,
createTextVNode,
Expand Down Expand Up @@ -195,7 +195,7 @@ export function createHydrationFunctions(
nextNode = nextSibling(node)
}
break
case Comment:
case VComment:
if (isTemplateNode(node)) {
nextNode = nextSibling(node)
// wrapped <transition appear>
Expand Down

0 comments on commit 5d9e81d

Please sign in to comment.