Typescript: Wrong return type when using lean in different way
Typescript: Wrong return type when using lean in different way: a task in mimo-v26-rl-oss-code-terminal-harbor: MiMo V2.6 RL Harbor Code + Terminal (Harbor dataset). it's: ts // ^? const a: (mongoose.Document<unknown, {}, { name: string; } & { name: string; } & { id: mongoose.Types.ObjectId; }) null
The task
it's: ```ts // ^? const a: (mongoose.Document<unknown, {}, { name: string; }> & { name: string; } & { _id: mongoose.Types.ObjectId; }) | null ```