Skip to content

Add missing parentheses to arrow function in TSInstantiationExpression #17724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fisker
Copy link
Member

@fisker fisker commented Jul 13, 2025

Description

Fixes #17714

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.

Copy link

pkg-pr-new bot commented Jul 13, 2025

Open in StackBlitz

yarn add https://pkg.pr.new/prettier/prettier/@prettier/plugin-hermes@17724.tgz
yarn add https://pkg.pr.new/prettier/prettier/@prettier/plugin-oxc@17724.tgz
yarn add https://pkg.pr.new/prettier/prettier@17724.tgz

commit: c62705e

@fisker fisker changed the title Add missing parentheses around arrow function in TSInstantiationExpression Add missing parentheses to arrow function in TSInstantiationExpression Jul 13, 2025
@fisker fisker marked this pull request as ready for review July 13, 2025 15:01
Copy link

netlify bot commented Jul 13, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit f8dd732
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/6873c9f2b1c6140008c895c4
😎 Deploy Preview https://deploy-preview-17724--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.

Copy link

netlify bot commented Jul 13, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit c62705e
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/6873ca4dd7996a00080850f2
😎 Deploy Preview https://deploy-preview-17724--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.

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.

Parentheses around generic anonymous arrow functions are removed, introducing invalid TypeScript syntax
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy