A framework for building native applications using React
Revert recent Flow syntax codemods in react-native-github (#56998)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56998 Reverts the recent Flow syntax codemods applied across `packages/`, `private/`, and `scripts/` in react-native-github. Specifically restores the previous form for: - `+T` / `+Instance` style variance annotations on generic type parameters that had been converted to the newer `out T` / `in T` keyword form. - `+field:` covariant object/interface properties that had been converted to the `readonly field:` modifier form. - `+[K in keyof T]:` mapped-type covariance that had been converted to `readonly [K in keyof T]:`. These are purely Flow type-annotation changes with no runtime behavior impact, restoring the form that the rest of the toolchain (in particular Fantom) already supports. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D106813102 fbshipit-source-id: 6bf915d530e130eba9c9d96a2b6c3dc8853594d1
R
Rubén Norte committed
833144fcecf8be72a372c655933a5496b8775d60
Parent: 5b16cdf
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 5/29/2026, 9:09:58 PM