MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / get

Method get

packages/core/src/plugin/plugin-runtime.ts:100–105  ·  view source on GitHub ↗
(target, prop, receiver)

Source from the content-addressed store, hash-verified

98 const exports = this.config.exports?.()
99 return new Proxy(this, {
100 get(target, prop, receiver) {
101 if ({}.hasOwnProperty.call(exports, prop)) {
102 return exports?.[prop as string]
103 }
104 return Reflect.get(target, prop, receiver)
105 },
106 })
107 }
108}

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected