Latest Results
fix(es/fixer): preserve TypeScript operand grouping (#12539)
**Description:**
The fixer removes parentheses required by TypeScript around casts,
instantiations, and low-precedence cast inputs, producing invalid syntax
or changing the parsed expression. Preserve grouping across postfix
operations, updates, and binary operators—including `(f<T>)!`,
`(f<T>)++`, `(value as T).x`, `(value as T) & other`, `((a + b) as T) *
c`, and `(a | b) as T`.
Retain required innermost `ParenExpr` nodes in place and replace
`IndexMap::shift_remove` with indexed span records so nested parenthesis
restoration stays linear while preserving comment migration order.
**Related issue (if exists):**
- Follow-up to #12518 Latest Branches
0%
baltasarblanco:fix/12530-regex-after-division 0%
baltasarblanco:fix/12529-array-literal-param-element-read +3%
fix/ts-namespace-enum-bindings © 2026 CodSpeed Technology