Skip to content

Remove extra type arguments in calls - #60190

Merged
meta-codesync[bot] merged 1 commit into
mainfrom
export-D133555525
Nov 20, 2026
Merged

meta-codesync[bot] merged 1 commit into
mainfrom
export-D133555525

Conversation

@SamChou19815

Copy link
Copy Markdown
Member

Summary:
X-link: react/metro#2259

Flow will report extra type arguments on calls (extra-type-arg); until now it silently ignored them. These calls pass more type arguments than the callee declares. Remove the extra ones; Flow only ever used the leading ones, so typing is unchanged.

Changelog: [Internal]

Reviewed By: panagosg7

Differential Revision: D133555525

Summary:
X-link: react/metro#2259

Flow will report extra type arguments on calls (`extra-type-arg`); until now it silently ignored them. These calls pass more type arguments than the callee declares. Remove the extra ones; Flow only ever used the leading ones, so typing is unchanged.

Changelog: [Internal]

Reviewed By: panagosg7

Differential Revision: D133555525
@meta-codesync

meta-codesync Bot commented Nov 20, 2026

Copy link
Copy Markdown

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

@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 20, 2026
@meta-codesync
meta-codesync Bot merged commit c2aa91a into main Nov 20, 2026
50 of 52 checks passed
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @SamChou19815 in c2aa91a

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Nov 20, 2026
@SamChou19815
SamChou19815 deleted the export-D133555525 branch November 21, 2026 00:00
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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants