我在我的一个项目中使用Prisma,我有两个委托,它们的类型几乎完全相同(SaleOffer,RentOffer),所以我有一个函数,它根据参数返回两个委托,所以函数类型是// The Following two work properly without any warnings
(prisma_delegate(offerType)
当我将prisma与nest一起使用时,我怀疑我做错了什么。TS2322: Type 'UserWhereUniqueInput' is not assignable to type 'string'. password: string; const user = await this.prisma.user.findUnique</em