Avatar for the oxc-project user
oxc-project
oxc
BlogDocsChangelog

fix(formatter): preserve trailing comma in TSX arrow functions with default type params

#21151Merged
Comparing
jsmecham:fix/tsx-trailing-comma-with-default-type-param
(
ea5bfe1
) with
main
(
eab13b3
)
CodSpeed Performance Gauge
0%
Untouched
44
Skipped
7

Benchmarks

7 total
formatter[binder.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
21.2 ms*
formatter[cal.com.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
188.5 ms*
formatter[react.development.js]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
10.7 ms*
linter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
784.2 µs*
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
53.4 ms*
linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
20.8 ms*
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
531.7 ms*

Commits

Click on a commit to change the comparison range
Base
main
eab13b3
-0.07%
fix(formatter): preserve trailing comma in TSX arrow functions with default type params
ea5bfe1
8 hours ago
by jsmecham
© 2026 CodSpeed Technology
Home Terms Privacy Docs