Revert "Use methoddescriptorinterface"

This reverts commit 1ac8aa5a63.
This commit is contained in:
Stanley Cheung 2020-07-13 21:25:05 -07:00
parent 1ac8aa5a63
commit 0aac5494fe
2 changed files with 4 additions and 4 deletions

View File

@ -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<REQUEST, RESPONSE>}
* @return {!MethodDescriptor<REQUEST, RESPONSE>}
*/
getMethodDescriptor() {}

View File

@ -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<REQUEST, RESPONSE>}
* @return {!MethodDescriptor<REQUEST, RESPONSE>}
*/
getMethodDescriptor() {}