(target: unknown, item: unknown)
| 33 | } |
| 34 | |
| 35 | function toWrapped(target: unknown, item: unknown) { |
| 36 | if (isReadonly(target)) { |
| 37 | return isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item) |
| 38 | } |
| 39 | return toReactive(item) |
| 40 | } |
| 41 | |
| 42 | export const arrayInstrumentations: Record<string | symbol, Function> = <any>{ |
| 43 | __proto__: null, |
no test coverage detected