Skip to content

Enable assertion functions in React Native GitHub - #59090

Closed
panagosg7 wants to merge 1 commit into
react:mainfrom
panagosg7:export-D125271821
Closed

panagosg7 wants to merge 1 commit into
react:mainfrom
panagosg7:export-D125271821

Conversation

@panagosg7

Copy link
Copy Markdown
Contributor

Summary:
Enable experimental.assertion_functions and experimental.disable_invariant_special_casing in react-native-github/.github.flowconfig.

Add local libdefs for invariant and invariant/invariant returning asserts condition, and ignore node_modules/invariant/** so the package's own types cannot override them.

Changelog: [Internal]

Differential Revision: D125271821

Summary:
Enable `experimental.assertion_functions` and `experimental.disable_invariant_special_casing` in `react-native-github/.github.flowconfig`.

Add local libdefs for `invariant` and `invariant/invariant` returning `asserts condition`, and ignore `node_modules/invariant/**` so the package's own types cannot override them.

Changelog: [Internal]

Differential Revision: D125271821
@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

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

@meta-codesync meta-codesync Bot closed this in 7f5df1d 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 7f5df1d.

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