Files
react-native/packages/react-native-codegen
Sam Zhou 9db1d137e4 Update to use modern casting syntax in codegen fixtures (#56258)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56258

According to my understanding, the codegen already outputs the modern casting syntax. Only these fixtures are stuck on the old syntax. This diff fixes them all.

Changelog: [Internal]

Reviewed By: gkz

Differential Revision: D98537137

fbshipit-source-id: 0d4a19e8eeece771881ed793ec994da25297de50
2026-03-27 14:31:25 -07:00
..

@react-native/codegen

Version

Installation

yarn add --dev @react-native/codegen

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like

Testing

To run the tests in this package, run the following commands from the React Native root folder:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/react-native-codegen.