MCPcopy Index your code
hub / github.com/github/copilot-sdk / tsResultType

Function tsResultType

scripts/codegen/typescript.ts:463–466  ·  view source on GitHub ↗
(method: RpcMethod)

Source from the content-addressed store, hash-verified

461}
462
463function tsResultType(method: RpcMethod): string {
464 if (isVoidSchema(getMethodResultSchema(method))) return "void";
465 return tsNullableResultTypeName(method) ?? resultTypeName(method);
466}
467
468function paramsTypeName(method: RpcMethod): string {
469 const fallback = rpcRequestFallbackName(method);

Callers 3

emitGroupFunction · 0.85

Calls 4

isVoidSchemaFunction · 0.85
tsNullableResultTypeNameFunction · 0.85
getMethodResultSchemaFunction · 0.70
resultTypeNameFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…