From c2bcccef2019760dd7cc04132ecf5dd6bebc28d5 Mon Sep 17 00:00:00 2001 From: Xiaozhen Liu Date: Wed, 26 Feb 2020 15:36:52 -0800 Subject: [PATCH] feat: export protos in src/index.ts --- packages/google-cloud-language/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/google-cloud-language/src/index.ts b/packages/google-cloud-language/src/index.ts index c7557cf407c..99569d71493 100644 --- a/packages/google-cloud-language/src/index.ts +++ b/packages/google-cloud-language/src/index.ts @@ -24,3 +24,5 @@ export {v1, v1beta2, LanguageServiceClient}; // For compatibility with JavaScript libraries we need to provide this default export: // tslint:disable-next-line no-default-export export default {v1, v1beta2, LanguageServiceClient}; +import * as protos from '../protos/protos'; +export {protos};