Nested as type assertions get wrapped in unnecessary parens
Nested as type assertions get wrapped in unnecessary parens: a task in MiMo-V2.6-Code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). 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…
The task
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.
Part of openmodelai/MiMo-V2.6-Code.