Skip to content

Accessing types from gax #595

@JustinBeckwith

Description

@JustinBeckwith

I am upgrading some of our bots to use the latest version of TypeScript. With better typing for errors, I now need to get access to GoogleError in a few places, which is exported from google-gax. I could import gax directly, but I was wondering if we should be exporting a few of the common gax types directly from each generated client, or how we'd want developers to access them.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions