types(reactivity): simplify UnwrapNestedRefs (#4194)

This commit is contained in:
Pick
2021-07-28 23:15:08 +08:00
committed by GitHub
parent b79e4ca717
commit da6c055b19
2 changed files with 3 additions and 3 deletions

View File

@@ -264,7 +264,7 @@ export type UnwrapRef<T> = T extends Ref<infer V>
? UnwrapRefSimple<V>
: UnwrapRefSimple<T>
type UnwrapRefSimple<T> = T extends
export type UnwrapRefSimple<T> = T extends
| Function
| CollectionTypes
| BaseTypes