parent
095fe269cb
commit
523b4b78f5
@ -12,6 +12,7 @@ export {
|
||||
ToRef,
|
||||
ToRefs,
|
||||
UnwrapRef,
|
||||
ShallowRef,
|
||||
ShallowUnwrapRef,
|
||||
RefUnwrapBailTypes
|
||||
} from './ref'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user