5a20bd5b10
Summary: This PR is a subtask of https://github.com/facebook/react-native/issues/34872 Moved `translateArrayTypeAnnotation` (Flow,TS) fns to `parsers-primitives.js` - combined `Flow` and `TS` `translateArrayTypeAnnotation` fn 's into common fn - moved it to `parsers-primitives.js` - re-organized imports and exports :) ## Changelog [Internal] [Changed] - Moved `translateArrayTypeAnnotation` (Flow,TS) fns to `parsers-primitives.js` Pull Request resolved: https://github.com/facebook/react-native/pull/35479 Test Plan: - ensure 👇 is `#00ff00` `yarn lint && yarn flow && yarn test-ci` Reviewed By: cipolleschi Differential Revision: D41548046 Pulled By: GijsWeterings fbshipit-source-id: 8fd7214f8b1e669ba42f326f814674eec179fed5 |
||
---|---|---|
.. | ||
buck_tests | ||
e2e | ||
scripts | ||
src | ||
.babelrc | ||
.prettierrc | ||
BUCK | ||
DEFS.bzl | ||
README.md | ||
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 react-native-codegen
.