(target, prop, _receiver)
| 691 | tag, |
| 692 | new Proxy({ ...service as object } as S, { |
| 693 | get(target, prop, _receiver) { |
| 694 | if (prop in target) { |
| 695 | return target[prop as keyof S] |
| 696 | } |
| 697 | const prevLimit = getStackTraceLimit() |
| 698 | setStackTraceLimit(2) |
| 699 | const error = new Error(`${tag.key}: Unimplemented method "${prop.toString()}"`) |
| 700 | setStackTraceLimit(prevLimit) |
| 701 | error.name = "UnimplementedError" |
| 702 | return makeUnimplemented(error) |
| 703 | }, |
| 704 | has: constTrue |
| 705 | }) |
| 706 | ) |
nothing calls this directly
no test coverage detected