Skip to content

Make single heritage interface print more like the class superClass#18215

Merged
fisker merged 16 commits intoprettier:mainfrom
fisker:interface
Nov 4, 2025
Merged

Make single heritage interface print more like the class superClass#18215
fisker merged 16 commits intoprettier:mainfrom
fisker:interface

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Nov 4, 2025

Description

Fixes #5156

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
Copy Markdown

pkg-pr-new Bot commented Nov 4, 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: 09f5d5f

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 4, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 09f5d5f
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/690a1b033bb71900085cde6e
😎 Deploy Preview https://deploy-preview-18215--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.

@@ -261,10 +287,20 @@ interface ExtendsManyWithGenerics
export interface ExtendsLongOneWithGenerics extends Bar< SomeLongTypeSomeLongTypeSomeLongTypeSomeLongType, ToBreakLineToBreakLineToBreakLine> {}

=====================================output=====================================
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diff starts here

@fisker fisker marked this pull request as ready for review November 4, 2025 15:06
@fisker fisker merged commit 5bc3cd6 into prettier:main Nov 4, 2025
35 checks passed
@fisker fisker deleted the interface branch November 4, 2025 16:17
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.

inconsistent printing extends for interface and class

1 participant