mirror of https://github.com/grpc/grpc-web.git
parent
1ac8aa5a63
commit
0aac5494fe
|
|
@ -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() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -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() {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue