Skip to content

fix(formatter): remove unnecessary parens around TSConstructorType in arrow function return type#20573

Merged
Dunqing merged 2 commits intooxc-project:mainfrom
babu-ch:fix/ts-constructor-type-arrow-parens
Mar 23, 2026
Merged

fix(formatter): remove unnecessary parens around TSConstructorType in arrow function return type#20573
Dunqing merged 2 commits intooxc-project:mainfrom
babu-ch:fix/ts-constructor-type-arrow-parens

Conversation

@babu-ch
Copy link
Copy Markdown
Contributor

@babu-ch babu-ch commented Mar 20, 2026

fixes #20564

@babu-ch babu-ch requested a review from Dunqing as a code owner March 20, 2026 17:22
@github-actions github-actions bot added A-formatter Area - Formatter C-bug Category - Bug labels Mar 20, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 20, 2026

Merging this PR will not alter performance

✅ 49 untouched benchmarks
⏩ 7 skipped benchmarks1


Comparing babu-ch:fix/ts-constructor-type-arrow-parens (fe805e7) with main (4fec907)

Open in CodSpeed

Footnotes

  1. 7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@Dunqing Dunqing merged commit 909fb4d into oxc-project:main Mar 23, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-formatter Area - Formatter C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

formatter: Diff with Prettier on return type function brackets

2 participants