-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
api: bigqueryIssues related to the googleapis/nodejs-bigquery API.Issues related to the googleapis/nodejs-bigquery API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Environment details
- OS: macOS 14.4.1
- Node.js version: 20.11
- npm version: 10.2.4
@google-cloud/bigqueryversion: 7.5.2
Steps to reproduce
- Try to pass
startIndexas an integer option togetRows. eg.table.getRows({ startIndex: 31241 }). - Observe typescript error. Expects a string when this should be a number.
- Passing a number in as "string" allows it to compile.
Expected behaviour
startIndex should work with an integer. As it is right now I need to convert the integer to a string eg. 31241.toString()
Relevant fixes in the code
nodejs-bigquery/src/types.d.ts
Line 5903 in 74aa150
| startIndex?: string; |
nodejs-bigquery/src/types.d.ts
Line 6055 in 74aa150
| startIndex?: string; |
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the googleapis/nodejs-bigquery API.Issues related to the googleapis/nodejs-bigquery API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.