parent
095fe269cb
commit
523b4b78f5
@ -12,6 +12,7 @@ export {
|
|||||||
ToRef,
|
ToRef,
|
||||||
ToRefs,
|
ToRefs,
|
||||||
UnwrapRef,
|
UnwrapRef,
|
||||||
|
ShallowRef,
|
||||||
ShallowUnwrapRef,
|
ShallowUnwrapRef,
|
||||||
RefUnwrapBailTypes
|
RefUnwrapBailTypes
|
||||||
} from './ref'
|
} from './ref'
|
||||||
|
@ -77,7 +77,7 @@ export function ref(value?: unknown) {
|
|||||||
|
|
||||||
declare const ShallowRefMarker: unique symbol
|
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>(
|
export function shallowRef<T extends object>(
|
||||||
value: T
|
value: T
|
||||||
|
Loading…
x
Reference in New Issue
Block a user