Skip to content

Replace printInterface with printClass#18091

Merged
fisker merged 19 commits intoprettier:mainfrom
fisker:interface-print
Oct 21, 2025
Merged

Replace printInterface with printClass#18091
fisker merged 19 commits intoprettier:mainfrom
fisker:interface-print

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Oct 16, 2025

Description

They should print consistently, but with two different logic, it's hard to align.

I think it's necessary to fix #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 Oct 16, 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: 582716d

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 16, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 582716d
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/68f777dba4ba800008ad09a6
😎 Deploy Preview https://deploy-preview-18091--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 21, 2025 12:07
Corrected grammatical errors and improved clarity in the changelog.
@fisker fisker merged commit 7de88d6 into prettier:main Oct 21, 2025
35 checks passed
@fisker fisker deleted the interface-print branch October 21, 2025 13:10
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