refactor(runtime-core): make h() support single vnode child (#181)
This commit is contained in:
@@ -129,7 +129,7 @@ export function createBlock(
|
||||
return vnode
|
||||
}
|
||||
|
||||
export function isVNode(value: any): boolean {
|
||||
export function isVNode(value: any): value is VNode {
|
||||
return value ? value._isVNode === true : false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user