Skip to content

Enable TypeScript-compatible Flow syntax in the OSS checker - #60145

Merged
meta-codesync[bot] merged 1 commit into
react:mainfrom
rubennorte:export-D133191436
Nov 19, 2026
Merged

meta-codesync[bot] merged 1 commit into
react:mainfrom
rubennorte:export-D133191436

Conversation

@rubennorte

Copy link
Copy Markdown
Member

Summary:

Context

React Native implementation type improvements use satisfies and signed-readonly mapped types. The open-source Flow checker needs an explicit opt-in before source files can adopt these features.

Changes

  • Enable experimental.tslib_syntax=true in the open-source Flow configuration.
  • Keep the syntax opt-in separate from the implementation refactors that use it.

Changelog: [Internal]

Differential Revision: D133191436

Summary:
## Context
React Native implementation type improvements use `satisfies` and signed-readonly mapped types. The open-source Flow checker needs an explicit opt-in before source files can adopt these features.

## Changes
- Enable `experimental.tslib_syntax=true` in the open-source Flow configuration.
- Keep the syntax opt-in separate from the implementation refactors that use it.

Changelog: [Internal]

Differential Revision: D133191436
@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 Nov 19, 2026
@meta-codesync

meta-codesync Bot commented Nov 19, 2026

Copy link
Copy Markdown

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

@javache javache left a comment

Copy link
Copy Markdown
Contributor

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 merged commit 888cb51 into react:main Nov 19, 2026
100 checks passed
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @rubennorte in 888cb51

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 Nov 19, 2026
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.

3 participants