(method: RpcMethod)
| 441 | } |
| 442 | |
| 443 | function resultTypeName(method: RpcMethod): string { |
| 444 | const schema = getMethodResultSchema(method); |
| 445 | const externalRef = schema?.$ref ? parseExternalSchemaRef(schema.$ref) : undefined; |
| 446 | return externalRef?.definitionName ?? getRpcSchemaTypeName(schema, method.rpcMethod.split(".").map(toPascalCase).join("") + "Result"); |
| 447 | } |
| 448 | |
| 449 | function tsNullableResultTypeName(method: RpcMethod): string | undefined { |
| 450 | const resultSchema = getMethodResultSchema(method); |
no test coverage detected
searching dependent graphs…