diff --git a/javascript/net/grpc/web/request.js b/javascript/net/grpc/web/request.js index 4d062a8..04b46ec 100644 --- a/javascript/net/grpc/web/request.js +++ b/javascript/net/grpc/web/request.js @@ -7,7 +7,7 @@ goog.module.declareLegacyNamespace(); const CallOptions = goog.require('grpc.web.CallOptions'); const Metadata = goog.require('grpc.web.Metadata'); -const MethodDescriptorInterface = goog.requireType('grpc.web.MethodDescriptorInterface'); +const MethodDescriptor = goog.requireType('grpc.web.MethodDescriptor'); /** * @interface @@ -22,7 +22,7 @@ class Request { /** * @export - * @return {!MethodDescriptorInterface} + * @return {!MethodDescriptor} */ getMethodDescriptor() {} diff --git a/javascript/net/grpc/web/unaryresponse.js b/javascript/net/grpc/web/unaryresponse.js index a1653c7..6b10ff7 100644 --- a/javascript/net/grpc/web/unaryresponse.js +++ b/javascript/net/grpc/web/unaryresponse.js @@ -6,7 +6,7 @@ goog.module('grpc.web.UnaryResponse'); goog.module.declareLegacyNamespace(); const Metadata = goog.requireType('grpc.web.Metadata'); -const MethodDescriptorInterface = goog.requireType('grpc.web.MethodDescriptorInterface'); +const MethodDescriptor = goog.requireType('grpc.web.MethodDescriptor'); const {Status} = goog.requireType('grpc.web.Status'); /** @@ -28,7 +28,7 @@ class UnaryResponse { /** * @export - * @return {!MethodDescriptorInterface} + * @return {!MethodDescriptor} */ getMethodDescriptor() {}