mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: I was upgrading bare react native project to expo sdk 54 and stumbled upon ``` "TurboModule system assumes returnType == void iff the method is synchronous." ``` error from `turbomodule/core/TurboModuleInteropUtils.kt` I thought that `iff` with double `f` was a typo and wanted to submit a pr with fix - I learned that it means `if and only if` - decided to scan the repo for any other typos anywany - submitting the ones that I've found. ## Changelog: [Internal] <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message Pull Request resolved: https://github.com/facebook/react-native/pull/55651 Reviewed By: cipolleschi Differential Revision: D93876470 Pulled By: cortinico fbshipit-source-id: 43fc905bda14e77b27cdeda568bde1e2299d9d0f
@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.