mirror of https://github.com/vuejs/core.git
chore(types): disambiguate the `Comment` type in hydration.ts (#12009)
This commit is contained in:
parent
a177092754
commit
5d9e81d3da
|
@ -1,8 +1,8 @@
|
||||||
import {
|
import {
|
||||||
Comment,
|
|
||||||
Fragment,
|
Fragment,
|
||||||
Static,
|
Static,
|
||||||
Text,
|
Text,
|
||||||
|
Comment as VComment,
|
||||||
type VNode,
|
type VNode,
|
||||||
type VNodeHook,
|
type VNodeHook,
|
||||||
createTextVNode,
|
createTextVNode,
|
||||||
|
@ -195,7 +195,7 @@ export function createHydrationFunctions(
|
||||||
nextNode = nextSibling(node)
|
nextNode = nextSibling(node)
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case Comment:
|
case VComment:
|
||||||
if (isTemplateNode(node)) {
|
if (isTemplateNode(node)) {
|
||||||
nextNode = nextSibling(node)
|
nextNode = nextSibling(node)
|
||||||
// wrapped <transition appear>
|
// wrapped <transition appear>
|
||||||
|
|
Loading…
Reference in New Issue