v6.6.4 breaks typings with mongodb v4.10.0 #12512
Labels
help
This issue can likely be resolved in GitHub issues. No bug fixes, features, or docs necessary
typescript
Types or Types-test related issue / Pull Request
Prerequisites
Mongoose version
6.6.4
Node.js version
14.19.1
MongoDB server version
5.0.12
Description
Updating from 6.6.3 -> 6.6.4 breaks the typings of node_modules/mongoose/types/query.d.ts
Using the current latest version of mongodb npm package (4.10.0)
This error has happened before with different version comboinations.
Its the "classic"
Exrpession expected or '(' expected
We do not have mongoose typings installed separately as a dev depedency,
only mongodb and mongoose packages at the above versions mentioned
Steps to Reproduce
Update versions and run npm install.
The error is coming from within mongoose module typings.
Expected Behavior
Since its a patch, this should not happend imho.
The text was updated successfully, but these errors were encountered: