chore: fix types

This commit is contained in:
Evan You 2020-07-14 17:07:36 -04:00
parent 583a1c7b45
commit f49f95344b

View File

@ -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)
}