Skip to content

bug: generated code for sql-admin doesn't compile #590

@tmatsuo

Description

@tmatsuo

An example build:
https://github.com/googleapis/nodejs-sql-admin/pull/34/checks?check_run_id=3692309803

The build error:

> @google-cloud/sql-admin@0.1.0 compile /home/runner/work/nodejs-sql-admin/nodejs-sql-admin
> tsc -p . && cp -r protos build/

src/v1/sql_instance_names_service_client.ts:203:11 - error TS7034: Variable 'sqlInstanceNamesServiceStubMethods' implicitly has type 'any[]' in some locations where its type cannot be determined.

203     const sqlInstanceNamesServiceStubMethods = [];
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/v1/sql_instance_names_service_client.ts:204:30 - error TS7005: Variable 'sqlInstanceNamesServiceStubMethods' implicitly has an 'any[]' type.

204     for (const methodName of sqlInstanceNamesServiceStubMethods) {
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    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