Skip to content

Commit

Permalink
Merge pull request #1951 from howyi/master
Browse files Browse the repository at this point in the history
feat(client): export `ServiceClientConstructor` type
  • Loading branch information
murgatroid99 committed Oct 26, 2021
2 parents c45b66c + 25e21d1 commit 5a49a93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/grpc-js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ import {
loadPackageDefinition,
makeClientConstructor,
MethodDefinition,
ProtobufTypeDefinition,
Serialize,
ServiceClientConstructor,
ServiceDefinition,
} from './make-client';
import { Metadata, MetadataValue } from './metadata';
Expand Down Expand Up @@ -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';

Expand Down

0 comments on commit 5a49a93

Please sign in to comment.