Skip to content

Fix toJSON return types in bom.js.flow (#56623)#56623

Closed
rubennorte wants to merge 1 commit into
react:mainfrom
rubennorte:export-D102597516
Closed

Fix toJSON return types in bom.js.flow (#56623)#56623
rubennorte wants to merge 1 commit into
react:mainfrom
rubennorte:export-D102597516

Conversation

@rubennorte

@rubennorte rubennorte commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary:

Fix the return types of toJSON() methods in PerformanceEntry, PerformanceServerTiming, and Performance to return an object representation ({[string]: unknown}) instead of a string, per the WebIDL spec ([Default] object toJSON()).

Changelog: [internal]

Differential Revision: D102597516

@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 Apr 27, 2026
@meta-codesync

meta-codesync Bot commented Apr 27, 2026

Copy link
Copy Markdown

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

Summary:

Fix the return types of toJSON() methods in PerformanceEntry, PerformanceServerTiming, and Performance to return an object representation ({[string]: unknown}) instead of a string, per the WebIDL spec ([Default] object toJSON()).

Changelog: [internal]

Differential Revision: D102597516
@meta-codesync meta-codesync Bot changed the title Fix toJSON return types in bom.js.flow Fix toJSON return types in bom.js.flow (#56623) Apr 27, 2026
@meta-codesync meta-codesync Bot closed this in ce696df Apr 27, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @rubennorte in ce696df

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 Apr 27, 2026
@meta-codesync

meta-codesync Bot commented Apr 27, 2026

Copy link
Copy Markdown

This pull request has been merged in ce696df.

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. fb-exported 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