We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 095fe26 commit 523b4b7Copy full SHA for 523b4b7
packages/reactivity/src/index.ts
@@ -12,6 +12,7 @@ export {
12
ToRef,
13
ToRefs,
14
UnwrapRef,
15
+ ShallowRef,
16
ShallowUnwrapRef,
17
RefUnwrapBailTypes
18
} from './ref'
packages/reactivity/src/ref.ts
@@ -77,7 +77,7 @@ export function ref(value?: unknown) {
77
78
declare const ShallowRefMarker: unique symbol
79
80
-type ShallowRef<T = any> = Ref<T> & { [ShallowRefMarker]?: true }
+export type ShallowRef<T = any> = Ref<T> & { [ShallowRefMarker]?: true }
81
82
export function shallowRef<T extends object>(
83
value: T
0 commit comments