We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aaeeed commit 3206e5dCopy full SHA for 3206e5d
packages/reactivity/src/ref.ts
@@ -34,7 +34,7 @@ export function ref(value?: unknown) {
34
return createRef(value)
35
}
36
37
-export function shallowRef<T>(value: T): T extends Ref ? T : Ref<UnwrapRef<T>>
+export function shallowRef<T>(value: T): T extends Ref ? T : Ref<T>
38
export function shallowRef<T = any>(): Ref<T>
39
export function shallowRef(value?: unknown) {
40
return createRef(value, true)
0 commit comments