chore: fix types
This commit is contained in:
parent
583a1c7b45
commit
f49f95344b
@ -175,7 +175,7 @@ export function renderComponentRoot(
|
||||
treeOwnerId && treeOwnerId !== scopeId ? treeOwnerId + '-s' : null
|
||||
if (needScopeId || slotScopeId) {
|
||||
const extras: Data = {}
|
||||
if (needScopeId) extras[scopeId] = ''
|
||||
if (needScopeId) extras[scopeId!] = ''
|
||||
if (slotScopeId) extras[slotScopeId] = ''
|
||||
root = cloneVNode(root, extras)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user