Type 'MongooseDocument' has no properties in common with type 'MongooseDocumentOptionals'

错误原因:安装的mongoose type检查的版本不对。
之前想当然的安装dt~mongoose,但是一直报错。
通过typings search mongoose可以发现最底下的mongoose/v3最新更新。
因此安装v3版本,再run一下,果然成功!

命令:

typings install dt~mongoose/v3 --global
原文地址:https://www.cnblogs.com/douglasvegas/p/7218727.html