mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
198c6fc81c
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51806 Correct the type of args, which is always non-null. This is backwards-compatible as subclasses can override this method with a more permissive nullable type and still be substitutable. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D75869317 fbshipit-source-id: 8f6c9119140794447eca55be24483a35450d7bb6
@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.