| 2 | import { isRef } from 'vue' |
| 3 | |
| 4 | export interface ExtendRefOptions<Unwrap extends boolean = boolean> { |
| 5 | /** |
| 6 | * 扩展属性是否可枚举 |
| 7 | * |
| 8 | * @default false |
| 9 | */ |
| 10 | enumerable?: boolean |
| 11 | |
| 12 | /** |
| 13 | * 是否对 Ref 类型的属性进行解包 |
| 14 | * |
| 15 | * @default true |
| 16 | */ |
| 17 | unwrap?: Unwrap |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * 重载 1: Unwrap 设置为 false |
nothing calls this directly
no outgoing calls
no test coverage detected