Skip to content

Commit 25e21d1

Browse files
committed
feat(client): export ServiceClientConstructor,ProtobufTypeDefinition type
1 parent 4a5c1da commit 25e21d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/grpc-js/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ import {
4242
loadPackageDefinition,
4343
makeClientConstructor,
4444
MethodDefinition,
45+
ProtobufTypeDefinition,
4546
Serialize,
47+
ServiceClientConstructor,
4648
ServiceDefinition,
4749
} from './make-client';
4850
import { Metadata, MetadataValue } from './metadata';
@@ -245,7 +247,11 @@ export {
245247
InterceptorConfigurationError,
246248
} from './client-interceptors';
247249

248-
export { GrpcObject } from './make-client';
250+
export {
251+
GrpcObject,
252+
ServiceClientConstructor,
253+
ProtobufTypeDefinition
254+
} from './make-client';
249255

250256
export { ChannelOptions } from './channel-options';
251257

0 commit comments

Comments
 (0)