Skip to content

Rename TypeInformationComparisonError fields to match TypeAnnotationComparisonError#55302

Closed
elicwhite wants to merge 2 commits into
react:mainfrom
elicwhite:export-D91275947
Closed

Rename TypeInformationComparisonError fields to match TypeAnnotationComparisonError#55302
elicwhite wants to merge 2 commits into
react:mainfrom
elicwhite:export-D91275947

Conversation

@elicwhite

Copy link
Copy Markdown
Contributor

Summary:
Rename newerType/olderType to newerAnnotation/olderAnnotation in TypeInformationComparisonError to be consistent with TypeAnnotationComparisonError. This allows code that handles both error types to access annotation fields uniformly without checking error type first.

Changelog: [Internal]

Reviewed By: makovkastar

Differential Revision: D91275947

Summary:

Replace the brief CONTRIBUTING.md with a comprehensive AGENTS.md that provides AI coding assistants with detailed guidance for working with the react-native-compatibility-check package. The new documentation covers the three-stage pipeline architecture, compatibility rules, testing patterns, and design principles that were previously only partially documented.

Changelog: [Internal]

Reviewed By: makovkastar

Differential Revision: D91275922
…omparisonError

Summary:
Rename newerType/olderType to newerAnnotation/olderAnnotation in TypeInformationComparisonError to be consistent with TypeAnnotationComparisonError. This allows code that handles both error types to access annotation fields uniformly without checking error type first.

Changelog: [Internal]

Reviewed By: makovkastar

Differential Revision: D91275947
@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 Jan 26, 2026
@meta-codesync

meta-codesync Bot commented Jan 26, 2026

Copy link
Copy Markdown

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

@meta-codesync

meta-codesync Bot commented Jan 26, 2026

Copy link
Copy Markdown

This pull request has been merged in 1575ae0.

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