Typescript error TS2504 when trying to use async iterators with Mongoose 5.11.14: must have a '[Symbol.asyncIterator]()'

前端 未结 0 1123
春和景丽
春和景丽 2021-01-30 01:20

I\'m trying to move away from using @types/mongoose after realising that mongoose 5.11 has type information.

However I\'m now encountering Types

相关标签:
回答
  • 消灭零回复
提交回复
热议问题