Just to share some data points, I checked out the package.json of other database Node.js driver libraries. Most of them have a ^18, ^20, ^22 versions of @types/node. It may be a good idea that we update our @types/node, too.
Jane He
September 19, 2024 at 1:56 AM
Tested out that if we put "@types/node": ">=21", in our dependency requirement, it will pass. (It currently is "@types/node": ">=8" ) I m just not sure whether changing the dependency version is what we want.
Example run:
“TypeScript (latest) generation and compilation tests” fail because TypeScript released 5.6.2 last week.