mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
82f8cf1836
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42122 This diff introduces the `TypeUtils` directory where we can put platform-specific, context-independent type transformations. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D52291837 fbshipit-source-id: 561b9c494aab5bfee3b3c668d3346bbd320e5266
@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.