MCPcopy
hub / github.com/vuejs/composition-api / constructor

Method constructor

src/reactivity/ref.ts:68–73  ·  view source on GitHub ↗
({ get, set }: RefOption<T>)

Source from the content-addressed store, hash-verified

66 readonly [_refBrand]!: true
67 public value!: T
68 constructor({ get, set }: RefOption<T>) {
69 proxy(this, 'value', {
70 get,
71 set,
72 })
73 }
74}
75
76export function createRef<T>(

Callers

nothing calls this directly

Calls 1

proxyFunction · 0.90

Tested by

no test coverage detected