mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
35f0e1cca2
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47324 I need to reference this type somewhere else, but not an array of the type. Generally we prefer that all exported types are the object itself, and it used as a member type of arrays when used. Changelog: [Internal] Reviewed By: makovkastar Differential Revision: D65259014 fbshipit-source-id: 35fb5fe03a44bed61ad87337d0fc5c198744c0e9 |
||
---|---|---|
.. | ||
e2e | ||
scripts | ||
src | ||
.babelrc | ||
.prettierrc | ||
package.json | ||
README.md |
@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:
yarn
to install the dependencies. You just need to run this onceyarn jest packages/react-native-codegen
.