Skip to content

Function and Object -> any in node.js libdefs - #59089

Closed
SamChou19815 wants to merge 1 commit into
mainfrom
export-D125263780
Closed

SamChou19815 wants to merge 1 commit into
mainfrom
export-D125263780

Conversation

@SamChou19815

Copy link
Copy Markdown
Member

Summary:
X-link: react/metro#2067

Soon, flow will interpret Function and Object to be their corresponding prototype instead of any. This diff changes the node.js libdef to use any to preserve existing behavior.

Changelog: [Internal]

Differential Revision: D125263780

Summary:
X-link: react/metro#2067

Soon, flow will interpret `Function` and `Object` to be their corresponding prototype instead of `any`. This diff changes the node.js libdef to use `any` to preserve existing behavior.

Changelog: [Internal]

Differential Revision: D125263780
@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 Oct 14, 2026
@meta-codesync

meta-codesync Bot commented Oct 14, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot closed this in 3d6a381 Oct 14, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 14, 2026
@meta-codesync

meta-codesync Bot commented Oct 14, 2026

Copy link
Copy Markdown

This pull request has been merged in 3d6a381.

@SamChou19815
SamChou19815 deleted the export-D125263780 branch October 14, 2026 19:43
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.

1 participant