Skip to content

Export common gax interfaces from client #631

@JustinBeckwith

Description

@JustinBeckwith

Looking at some TypeScript code that goes in depth, and finding that it's not uncommon to need several interfaces available only gax. In the code I'm looking at today, it includes:

import {ClientOptions, CallOptions, PaginationCallback} from 'google-gax';

There are probably other interfaces folks may need. Should we consider exporting gax broadly for consumers?

export * as gax from 'google-gax`;

This would have to happen from the index.ts in the root.

Metadata

Metadata

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions