Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/reactivity/src/index.ts
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ export {
ToRef,
ToRefs,
UnwrapRef,
ShallowRef,
ShallowUnwrapRef,
RefUnwrapBailTypes
} from './ref'
2 changes: 1 addition & 1 deletion packages/reactivity/src/ref.ts
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ export function ref(value?: unknown) {

declare const ShallowRefMarker: unique symbol

type ShallowRef<T = any> = Ref<T> & { [ShallowRefMarker]?: true }
export type ShallowRef<T = any> = Ref<T> & { [ShallowRefMarker]?: true }

export function shallowRef<T extends object>(
value: T

0 comments on commit 523b4b7

Please sign in to comment.