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 {
|
||||
Comment,
|
||||
Fragment,
|
||||
Static,
|
||||
Text,
|
||||
Comment as VComment,
|
||||
type VNode,
|
||||
type VNodeHook,
|
||||
createTextVNode,
|
||||
|
@ -195,7 +195,7 @@ export function createHydrationFunctions(
|
|||
nextNode = nextSibling(node)
|
||||
}
|
||||
break
|
||||
case Comment:
|
||||
case VComment:
|
||||
if (isTemplateNode(node)) {
|
||||
nextNode = nextSibling(node)
|
||||
// wrapped <transition appear>
|
||||
|
|
Loading…
Reference in New Issue