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-v26-rl-oss-code-terminal-harbor: MiMo V2.6 RL Harbor Code + Terminal (Harbor dataset). I tried upgrading to mongoose 7.x, but now I'm stuck with some typescript issues. !…
The task
I tried upgrading to mongoose 7.x, but now I'm stuck with some typescript issues. 