MCPcopy Create free account
hub / github.com/TanStack/db / getOwnPropertyDescriptor

Function getOwnPropertyDescriptor

packages/db/src/query/builder/ref-proxy.ts:81–86  ·  view source on GitHub ↗
(target, prop)

Source from the content-addressed store, hash-verified

79 },
80
81 getOwnPropertyDescriptor(target, prop) {
82 if (prop === `__refProxy` || prop === `__path` || prop === `__type`) {
83 return { enumerable: false, configurable: true }
84 }
85 return Reflect.getOwnPropertyDescriptor(target, prop)
86 },
87 })
88
89 cache.set(pathKey, proxy)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected