(method: RpcMethod)
| 476 | } |
| 477 | |
| 478 | function goParamsTypeName(method: RpcMethod): string { |
| 479 | const fallback = goRequestFallbackName(method); |
| 480 | if (method.rpcMethod.startsWith("session.") && method.params?.$ref) { |
| 481 | return fallback; |
| 482 | } |
| 483 | return getRpcSchemaTypeName(getMethodParamsSchema(method), fallback); |
| 484 | } |
| 485 | |
| 486 | // ── Session Events (custom codegen — per-event-type data structs) ─────────── |
| 487 |
no test coverage detected
searching dependent graphs…