mirror of https://github.com/grpc/grpc-node.git
Merge pull request #1951 from howyi/master
feat(client): export `ServiceClientConstructor` type
This commit is contained in:
commit
5a49a93065
|
@ -42,7 +42,9 @@ import {
|
|||
loadPackageDefinition,
|
||||
makeClientConstructor,
|
||||
MethodDefinition,
|
||||
ProtobufTypeDefinition,
|
||||
Serialize,
|
||||
ServiceClientConstructor,
|
||||
ServiceDefinition,
|
||||
} from './make-client';
|
||||
import { Metadata, MetadataValue } from './metadata';
|
||||
|
@ -245,7 +247,11 @@ export {
|
|||
InterceptorConfigurationError,
|
||||
} from './client-interceptors';
|
||||
|
||||
export { GrpcObject } from './make-client';
|
||||
export {
|
||||
GrpcObject,
|
||||
ServiceClientConstructor,
|
||||
ProtobufTypeDefinition
|
||||
} from './make-client';
|
||||
|
||||
export { ChannelOptions } from './channel-options';
|
||||
|
||||
|
|
Loading…
Reference in New Issue