Skip to content

Comments

Improve formatting for default type on type parameters#18043

Merged
fisker merged 4 commits intoprettier:mainfrom
fisker:18041
Oct 11, 2025
Merged

Improve formatting for default type on type parameters#18043
fisker merged 4 commits intoprettier:mainfrom
fisker:18041

Conversation

@fisker
Copy link
Member

@fisker fisker commented Oct 10, 2025

Description

This is basically the same as #14858

Fixes #18041

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 10, 2025

Open in StackBlitz

yarn add https://pkg.pr.new/prettier/prettier/@prettier/[email protected]
yarn add https://pkg.pr.new/prettier/prettier/@prettier/[email protected]
yarn add https://pkg.pr.new/prettier/[email protected]

commit: 8f3f6be

@netlify
Copy link

netlify bot commented Oct 10, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 8f3f6be
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/68e9ed4375597200085ba63e
😎 Deploy Preview https://deploy-preview-18043--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@fisker fisker marked this pull request as ready for review October 11, 2025 05:38
@fisker fisker changed the title Improve formatting for default on type parameters Improve formatting for default type on type parameters Oct 11, 2025
@fisker fisker merged commit 5abc81f into prettier:main Oct 11, 2025
33 checks passed
@fisker fisker deleted the 18041 branch October 11, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect comment print

1 participant