Skip to content

Name unnamed parameters in function type annotations - #59790

Open
SamChou19815 wants to merge 1 commit into
mainfrom
export-D129441819
Open

SamChou19815 wants to merge 1 commit into
mainfrom
export-D129441819

Conversation

@SamChou19815

Copy link
Copy Markdown
Member

Summary:
Gives every unnamed parameter in a Flow function type annotation a name: v for a lone parameter, v<index> otherwise, and rest for a rest parameter. Type-only change with no runtime behavior change.

Changelog: [Internal]

Differential Revision: D129441819

Summary:
Gives every unnamed parameter in a Flow function type annotation a name: `v` for a lone parameter, `v<index>` otherwise, and `rest` for a rest parameter. Type-only change with no runtime behavior change.

Changelog: [Internal]

Differential Revision: D129441819
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 3, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Nov 3, 2026
@meta-codesync

meta-codesync Bot commented Nov 3, 2026

Copy link
Copy Markdown

@SamChou19815 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D129441819.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: POTENTIALLY_BREAKING

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant