Skip to content

Commit

Permalink
revert: "fix(types): use proper array type when unwrapping reactive a…
Browse files Browse the repository at this point in the history
…rray (#4807)"

This reverts commit 89c54ee.
  • Loading branch information
yyx990803 committed Nov 26, 2021
1 parent 1245709 commit 6d46b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactivity/src/ref.ts
Expand Up @@ -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]>
Expand Down

0 comments on commit 6d46b36

Please sign in to comment.