Type 'Task' does not satisfy the constraint 'Document'

后端 未结 0 628
南方客
南方客 2021-02-09 20:46

I\'m creating API using Nestjs and Mongodb. tasks.service.ts, tried to create a getAll endpoint and got typescript error: Type \'Task\' does not satisfy the constraint \'D

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