Merge pull request #1951 from howyi/master

feat(client): export `ServiceClientConstructor` type
This commit is contained in:
Michael Lumish 2021-10-26 12:56:41 -07:00 committed by GitHub
commit 5a49a93065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -42,7 +42,9 @@ import {
loadPackageDefinition, loadPackageDefinition,
makeClientConstructor, makeClientConstructor,
MethodDefinition, MethodDefinition,
ProtobufTypeDefinition,
Serialize, Serialize,
ServiceClientConstructor,
ServiceDefinition, ServiceDefinition,
} from './make-client'; } from './make-client';
import { Metadata, MetadataValue } from './metadata'; import { Metadata, MetadataValue } from './metadata';
@ -245,7 +247,11 @@ export {
InterceptorConfigurationError, InterceptorConfigurationError,
} from './client-interceptors'; } from './client-interceptors';
export { GrpcObject } from './make-client'; export {
GrpcObject,
ServiceClientConstructor,
ProtobufTypeDefinition
} from './make-client';
export { ChannelOptions } from './channel-options'; export { ChannelOptions } from './channel-options';