Skip to content

1.8.0 breaks our builds with "error TS1086: An accessor cannot be declared in an ambient context." #421

@gae123

Description

@gae123

We use google-gax because it is a dependency to other Gooble libraries. Suddenly about an hour ago our automated builds started failing with the following error. I am working around this with forcing a resolution to 1.7.5 in package.json for now....

.../node_modules/google-gax/build/src/pathTemplate.d.ts:14:9 - error TS1086: An accessor cannot be declared in an ambient context.

14     get size(): number;
           ~~~~

.../node_modules/google-gax/build/src/pathTemplate.d.ts:15:9 - error TS1086: An accessor cannot be declared in an ambient context.

15     get segments(): Segment[];
           ~~~~~~~~


Found 2 errors.

Metadata

Metadata

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to 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