Skip to content

Commit f49f953

Browse files
committed
chore: fix types
1 parent 583a1c7 commit f49f953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/componentRenderUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export function renderComponentRoot(
175175
treeOwnerId && treeOwnerId !== scopeId ? treeOwnerId + '-s' : null
176176
if (needScopeId || slotScopeId) {
177177
const extras: Data = {}
178-
if (needScopeId) extras[scopeId] = ''
178+
if (needScopeId) extras[scopeId!] = ''
179179
if (slotScopeId) extras[slotScopeId] = ''
180180
root = cloneVNode(root, extras)
181181
}

0 commit comments

Comments
 (0)