Bug #109189 | Typescript Session.Schema.Table.select(): declaration is missing arguments | ||
---|---|---|---|
Submitted: | 24 Nov 2022 7:11 | Modified: | 15 Feb 2023 22:35 |
Reporter: | sesi ye | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector for Node.js | Severity: | S3 (Non-critical) |
Version: | 8.0.31 | OS: | Any |
Assigned to: | Rui Quelhas | CPU Architecture: | Any |
Tags: | declaratior, typescript |
[24 Nov 2022 7:11]
sesi ye
[4 Jan 2023 17:44]
Rui Quelhas
Posted by developer: Hi sesi, Thank you for your bug report. You are correct, the TypeScript definition for Table.select() is missing the argument specification and corresponding types. It clearly needs to be fixed.
[15 Feb 2023 22:35]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Connector/Node.js 8.0.33 release, and here's the proposed changelog entry from the documentation team: The Table.select() method's TypeScript definition did not specify possible argument types; and this resulted in an error when the TypeScript compiler (tsc) compiled the application code to JavaScript. Thank you for the bug report.