The MongooseDocument type has no properties in common with the Mongoose type
I am using typescript in my koa2 project. Node environment is 8. I have installed dt ~ mongoose. But when I run the project, it throws an error:
typings/globals/mongoose/index.d.ts(841,9): error TS2559: Type 'MongooseDocument' has no properties in common with type 'MongooseDocumentOptionals'
+3
source to share
No one has answered this question yet
Check out similar questions: