diff --git a/packages/reactivity/src/ref.ts b/packages/reactivity/src/ref.ts index dde3b82b..48b3787f 100644 --- a/packages/reactivity/src/ref.ts +++ b/packages/reactivity/src/ref.ts @@ -34,7 +34,7 @@ export function ref(value?: unknown) { return createRef(value) } -export function shallowRef(value: T): T extends Ref ? T : Ref> +export function shallowRef(value: T): T extends Ref ? T : Ref export function shallowRef(): Ref export function shallowRef(value?: unknown) { return createRef(value, true)