Skip to content

Commit 5d9e81d

Browse files
authored
chore(types): disambiguate the Comment type in hydration.ts (#12009)
1 parent a177092 commit 5d9e81d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-core/src/hydration.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
2-
Comment,
32
Fragment,
43
Static,
54
Text,
5+
Comment as VComment,
66
type VNode,
77
type VNodeHook,
88
createTextVNode,
@@ -195,7 +195,7 @@ export function createHydrationFunctions(
195195
nextNode = nextSibling(node)
196196
}
197197
break
198-
case Comment:
198+
case VComment:
199199
if (isTemplateNode(node)) {
200200
nextNode = nextSibling(node)
201201
// wrapped <transition appear>

0 commit comments

Comments
 (0)