We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1245709 commit 6d46b36Copy full SHA for 6d46b36
packages/reactivity/src/ref.ts
@@ -276,7 +276,7 @@ export type UnwrapRefSimple<T> = T extends
276
| RefUnwrapBailTypes[keyof RefUnwrapBailTypes]
277
? T
278
: T extends Array<any>
279
- ? Array<UnwrapRefSimple<T[number]>>
+ ? { [K in keyof T]: UnwrapRefSimple<T[K]> }
280
: T extends object & { [ShallowReactiveMarker]?: never }
281
? {
282
[P in keyof T]: P extends symbol ? T[P] : UnwrapRef<T[P]>
0 commit comments