HF RL Explorer

Nested as type assertions get wrapped in unnecessary parens

Nested as type assertions get wrapped in unnecessary parens: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Nested as type assertions get wrapped in unnecessary parens When I run Prettier on TypeScript that uses a double as cast (the common value as unknown as TargetType…

The task

Nested as type assertions get wrapped in unnecessary parens When I run Prettier on TypeScript that uses a double as cast (the common value as unknown as TargetType pattern that TS often forces you into), Prettier adds parens around the inner cast. Input: Prettier output: I'd…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.