diff --git a/packages/grpc-native-core/index.d.ts b/packages/grpc-native-core/index.d.ts index 25815ce64..aed5c24b6 100644 --- a/packages/grpc-native-core/index.d.ts +++ b/packages/grpc-native-core/index.d.ts @@ -906,6 +906,17 @@ declare module "grpc" { INFO, ERROR, } + + /** + * Method type constants + */ + export enum methodTypes { + UNARY, + CLIENT_STREAMING, + SERVER_STREAMING, + BIDI_STREAMING, + } + /** * A certificate as received by the checkServerIdentity callback.