Skip to content

Commit

Permalink
feat: export protos in src/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhenliu-gg5 committed Feb 26, 2020
1 parent 738ab82 commit c2bccce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/google-cloud-language/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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};

0 comments on commit c2bccce

Please sign in to comment.