revert: "fix(types): use proper array type when unwrapping reactive array (#4807)"
This reverts commit 89c54ee2b9
.
This commit is contained in:
parent
124570973d
commit
6d46b36e7c
@ -276,7 +276,7 @@ export type UnwrapRefSimple<T> = T extends
|
||||
| RefUnwrapBailTypes[keyof RefUnwrapBailTypes]
|
||||
? T
|
||||
: T extends Array<any>
|
||||
? Array<UnwrapRefSimple<T[number]>>
|
||||
? { [K in keyof T]: UnwrapRefSimple<T[K]> }
|
||||
: T extends object & { [ShallowReactiveMarker]?: never }
|
||||
? {
|
||||
[P in keyof T]: P extends symbol ? T[P] : UnwrapRef<T[P]>
|
||||
|
Loading…
Reference in New Issue
Block a user