( method: RpcMethod, resultSchema: JSONSchema7 | undefined, )
| 576 | } |
| 577 | |
| 578 | function rustRpcResultDescription( |
| 579 | method: RpcMethod, |
| 580 | resultSchema: JSONSchema7 | undefined, |
| 581 | ): string | undefined { |
| 582 | if (isVoidSchema(resultSchema)) return undefined; |
| 583 | return method.result?.description ?? resultSchema?.description; |
| 584 | } |
| 585 | |
| 586 | function rustRpcParamsDescription( |
| 587 | method: RpcMethod, |
no test coverage detected
searching dependent graphs…