Clean up typing
This commit is contained in:
parent
f76d5deb6e
commit
d988b37e8d
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ export function computeComponent(
|
|||
watchEffect(() => {
|
||||
comp.value = coerceComponent(unwrapRef(component), defaultWrapper);
|
||||
});
|
||||
return comp as ShallowRef<Component | JSXFunction | "">;
|
||||
return comp as ShallowRef<Component | "">;
|
||||
}
|
||||
export function computeOptionalComponent(
|
||||
component: Ref<ProcessedComputable<CoercableComponent | undefined> | undefined>,
|
||||
|
|
Loading…
Reference in a new issue