diff --git a/examples/js-grpc/output/user/user_grpc_pb.js b/examples/js-grpc/output/user/user_grpc_pb.js index de2f11a..7c90957 100644 --- a/examples/js-grpc/output/user/user_grpc_pb.js +++ b/examples/js-grpc/output/user/user_grpc_pb.js @@ -97,8 +97,6 @@ function deserialize_user_UploadDocumentReply(buffer_arg) { -exports.TestServiceClient = grpc.makeGenericClientConstructor(UserServiceService); - var UserServiceService = exports.UserServiceService = { diff --git a/examples/js-grpc/templates/{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl b/examples/js-grpc/templates/{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl index 756e03d..b14bf29 100644 --- a/examples/js-grpc/templates/{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl +++ b/examples/js-grpc/templates/{{.File.Package}}/{{.File.Package}}_grpc_pb.js.tmpl @@ -31,8 +31,6 @@ function deserialize_{{$Package}}_{{.OutputType | splitArray "." | last}}(buffer {{end}} {{end}} -exports.TestServiceClient = grpc.makeGenericClientConstructor({{.Service.Name}}Service); - {{range .File.Service}} var {{.Name}}Service = exports.{{.Name}}Service = { {{$serviceName:=.Name}}