(id: number | string, result: unknown)
| 84 | }; |
| 85 | |
| 86 | const reply = (id: number | string, result: unknown): void => { |
| 87 | write({ jsonrpc: "2.0", id, result }); |
| 88 | }; |
| 89 | |
| 90 | const replyError = (id: number | string, code: number, message: string): void => { |
| 91 | write({ jsonrpc: "2.0", id, error: { code, message } }); |
no test coverage detected