Export DocumentQuery
for backwards compatibility
#10036
Labels
typescript
Types or Types-test related issue / Pull Request
Milestone
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Not sure, because of two typing files which is one from this same project and one is
@types/mongoose
because of that was having an import error ofDocumentQuery
import. Not Sure which typing file should I use, now if I remove index.d.ts file from thenode_modules/mongoose
this error is not coming up anymore, because @types/mongoose haveDocumentQuery
export.If the current behavior is a bug, please provide the steps to reproduce.
Code
tsconfig.json
What is the expected behavior?
Not Sure, don't know which typing file is the final one.
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
this is not related to any of these but still I will include the versions below.
Node.js: 14.16.0
Mongoose: 5.12.0
MongoDB: 3.4
The text was updated successfully, but these errors were encountered: