(target, prop)
| 26 | }) as typeof op & ((method: string, ...args: any[]) => void), |
| 27 | { |
| 28 | get(target, prop) { |
| 29 | // Handle special properties |
| 30 | if (prop === 'q') { |
| 31 | return undefined; // q doesn't exist after SDK loads |
| 32 | } |
| 33 | // If accessing a method on op, return the bound method |
| 34 | const value = (op as any)[prop]; |
| 35 | if (typeof value === 'function') { |
| 36 | return value.bind(op); |
| 37 | } |
| 38 | // Otherwise return the property from op (for things like options, etc.) |
| 39 | return value; |
| 40 | }, |
| 41 | }, |
| 42 | ); |
| 43 |
nothing calls this directly
no outgoing calls
no test coverage detected