diff --git a/packages/reactivity/src/ref.ts b/packages/reactivity/src/ref.ts index 6c2e134e..d2f5a4e4 100644 --- a/packages/reactivity/src/ref.ts +++ b/packages/reactivity/src/ref.ts @@ -9,7 +9,7 @@ export interface Ref { value: UnwrapNestedRefs } -export type UnwrapNestedRefs = T extends Ref ? Ref : UnwrapRef +export type UnwrapNestedRefs = T extends Ref ? T : UnwrapRef const convert = (val: any): any => (isObject(val) ? reactive(val) : val)