ts def of updateOne&findOneAndUpdate returns FlattenMap instead of UpdateWriteOpResult, when lean() is used
ts def of updateOne&findOneAndUpdate returns FlattenMap instead of UpdateWriteOpResult, when lean() is used: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I tried upgrading to mongoose 7.x, but now I'm stuck with some typescript issues. ! image…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.