[CONJS-160] Wrong definition for typescript PoolConnection.release Created: 2021-02-01 Updated: 2021-02-16 Resolved: 2021-02-16 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | typescript |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
from https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/145 : PoolConnection.release is typed as () => void. Looking at the implementation, it appears to be () => Promise<void>. |