mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55069 In the future this will parse as `UnknownTypeAnnotation` - future proof. Changelog: [Internal] Reviewed By: marcoww6 Differential Revision: D90226759 fbshipit-source-id: 2f9d819f6536366f670100166d0091686ac782f6
@react-native/codegen
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:
yarnto install the dependencies. You just need to run this onceyarn jest packages/react-native-codegen.