mirror of https://github.com/grpc/grpc-node.git
Fix missing type argument in client streaming server handler
This commit is contained in:
parent
bbff8cb449
commit
471c59fa27
|
@ -520,7 +520,7 @@ function generateServiceHandlerInterface(formatter: TextFormatter, serviceType:
|
|||
formatter.writeLine(`${methodName}(call: grpc.ServerDuplexStream<${requestType}, ${responseType}>): void;`);
|
||||
} else {
|
||||
// Client streaming
|
||||
formatter.writeLine(`${methodName}(call: grpc.ServerReadableStream<${requestType}>, callback: grpc.sendUnaryData<${responseType}>): void;`);
|
||||
formatter.writeLine(`${methodName}(call: grpc.ServerReadableStream<${requestType}, ${responseType}>, callback: grpc.sendUnaryData<${responseType}>): void;`);
|
||||
}
|
||||
} else {
|
||||
if (method.responseStream) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@grpc/proto-loader",
|
||||
"version": "0.6.0-pre13",
|
||||
"version": "0.6.0-pre14",
|
||||
"author": "Google Inc.",
|
||||
"contributors": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue