HF RL Explorer

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. ![image](https://user-images.githubusercontent.com/5757263/236601137-fd8e2776-2b12-427b-bc02-e81ee801791d.png)

Part of dyyyyyyyy/mimo-v26-rl-oss-code-terminal-harbor.