Skip to content

Commit 2b7f296

Browse files
authored
Merge pull request #2351 from murgatroid99/grpc-js_export_interceptor_types
grpc-js: Export `InterceptingListener` and `NextCall` types
2 parents 9bf74d9 + 18c803e commit 2b7f296

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/grpc-js/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export const getClientChannel = (client: Client) => {
237237

238238
export { StatusBuilder };
239239

240-
export { Listener } from './call-interface';
240+
export { Listener, InterceptingListener } from './call-interface';
241241

242242
export {
243243
Requester,
@@ -248,6 +248,7 @@ export {
248248
InterceptorProvider,
249249
InterceptingCall,
250250
InterceptorConfigurationError,
251+
NextCall
251252
} from './client-interceptors';
252253

253254
export {

0 commit comments

Comments
 (0)