We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bdd03b commit 89c54eeCopy full SHA for 89c54ee
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
- ? { [K in keyof T]: UnwrapRefSimple<T[K]> }
+ ? Array<UnwrapRefSimple<T[number]>>
280
: T extends object & { [ShallowReactiveMarker]?: never }
281
? {
282
[P in keyof T]: P extends symbol ? T[P] : UnwrapRef<T[P]>
0 commit comments