You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the issue has not already been raised
Issue
Hello, I'm seeking for help using overwriteMiddlewareResult. I am using node v.16.20.1 and Typescript 5.1.6. I have searched but nobody has encountered this issue before with this particular function. The function does work, the problem is with Typescript not recognizing it and giving me Module '"mongoose"' has no exported member 'overwriteMiddlewareResult'. Did you mean to use 'import overwriteMiddlewareResult from "mongoose"' instead? . I don't have problems with anything else that's exported from node_modules/mongoose/index.js.
I am not sure if this might be a library bug or something wrongfully configured in my enviroment.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Prerequisites
Issue
Hello, I'm seeking for help using
overwriteMiddlewareResult
. I am usingnode v.16.20.1
andTypescript 5.1.6
. I have searched but nobody has encountered this issue before with this particular function. The function does work, the problem is with Typescript not recognizing it and giving meModule '"mongoose"' has no exported member 'overwriteMiddlewareResult'. Did you mean to use 'import overwriteMiddlewareResult from "mongoose"' instead?
. I don't have problems with anything else that's exported fromnode_modules/mongoose/index.js
.I am not sure if this might be a library bug or something wrongfully configured in my enviroment.
Thanks in advance!
The text was updated successfully, but these errors were encountered: