File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
shallowCollectionHandlers ,
12
12
shallowReadonlyCollectionHandlers
13
13
} from './collectionHandlers'
14
- import { UnwrapRef , Ref } from './ref'
14
+ import { UnwrapRefSimple , Ref } from './ref'
15
15
16
16
export const enum ReactiveFlags {
17
17
SKIP = '__v_skip' ,
@@ -60,7 +60,7 @@ function getTargetType(value: Target) {
60
60
}
61
61
62
62
// only unwrap nested ref
63
- export type UnwrapNestedRefs < T > = T extends Ref ? T : UnwrapRef < T >
63
+ export type UnwrapNestedRefs < T > = T extends Ref ? T : UnwrapRefSimple < T >
64
64
65
65
/**
66
66
* Creates a reactive copy of the original object.
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ export type UnwrapRef<T> = T extends Ref<infer V>
264
264
? UnwrapRefSimple < V >
265
265
: UnwrapRefSimple < T >
266
266
267
- type UnwrapRefSimple < T > = T extends
267
+ export type UnwrapRefSimple < T > = T extends
268
268
| Function
269
269
| CollectionTypes
270
270
| BaseTypes
You can’t perform that action at this time.
0 commit comments