Closed
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the bug has not already been reported
Mongoose version
8.2.4
Node.js version
20.12.2
MongoDB server version
The latest version
Typescript version (if applicable)
5.4.3
Description
mongoose/types/connection.d.ts
Line 239 in c71ba5e
The return type of method connection.prototype.transaction
should not be Promsie<void>
.
Steps to Reproduce
.
Expected Behavior
It should use the correct return type.