Skip to content

Inline private type aliases in the API snapshot#56030

Closed
j-piasecki wants to merge 1 commit intofacebook:mainfrom
j-piasecki:export-D95920125
Closed

Inline private type aliases in the API snapshot#56030
j-piasecki wants to merge 1 commit intofacebook:mainfrom
j-piasecki:export-D95920125

Conversation

@j-piasecki
Copy link
Copy Markdown
Contributor

Summary:
Changelog: [Internal]

Currently, the parser ignores all private sections, which causes private type aliases definitions not to be present in the snapshot. The refereces to those types can still appear in the public API, if they are resolvable to public types.

This diff updates the parser to track private type definitions, and inline them when referenced from the public API.

Differential Revision: D95920125

@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 10, 2026

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95920125.

@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 Mar 10, 2026
@facebook-github-bot facebook-github-bot added the p: Facebook Partner: Facebook label Mar 10, 2026
Summary:

Changelog: [Internal]

Currently, the parser ignores all private sections, which causes private type aliases definitions not to be present in the snapshot. The refereces to those types can still appear in the public API, if they are resolvable to public types.

This diff updates the parser to track private type definitions, and inline them when referenced from the public API.

Differential Revision: D95920125
Copy link
Copy Markdown
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync Bot closed this in 7f6790b Mar 11, 2026
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @j-piasecki in 7f6790b

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 Mar 11, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 11, 2026

This pull request has been merged in 7f6790b.

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 p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants