MCPcopy Create free account
hub / github.com/cn-docs/vueuse / ExtendRefOptions

Interface ExtendRefOptions

packages/shared/extendRef/index.ts:4–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { isRef } from 'vue'
3
4export 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected