diff --git a/src/util/vue.tsx b/src/util/vue.tsx index 64f06f7..e8b51ca 100644 --- a/src/util/vue.tsx +++ b/src/util/vue.tsx @@ -169,7 +169,7 @@ export function computeComponent( watchEffect(() => { comp.value = coerceComponent(unwrapRef(component), defaultWrapper); }); - return comp as ShallowRef; + return comp as ShallowRef; } export function computeOptionalComponent( component: Ref | undefined>,