Document.modelName type definition is string, but get undefined
at runtime
#12669
Closed
2 tasks done
undefined
at runtime
#12669
Prerequisites
Mongoose version
6.7.0
Node.js version
18.12.0
MongoDB server version
4.4.17
Typescript version (if applicable)
4.8.4
Description
Document.modelName type definition is string, but get
undefined
at runtimeSteps to Reproduce
Typescript Code
Output
Type Definition
Expected Behavior
Remove Document.modelName type definition
The text was updated successfully, but these errors were encountered: