(method: RpcMethod)
| 461 | } |
| 462 | |
| 463 | function tsResultType(method: RpcMethod): string { |
| 464 | if (isVoidSchema(getMethodResultSchema(method))) return "void"; |
| 465 | return tsNullableResultTypeName(method) ?? resultTypeName(method); |
| 466 | } |
| 467 | |
| 468 | function paramsTypeName(method: RpcMethod): string { |
| 469 | const fallback = rpcRequestFallbackName(method); |
no test coverage detected
searching dependent graphs…