Commit 5349b7c
Update codegen to support namespaced types (facebook#49950)
Summary:
Pull Request resolved: facebook#49950
Changelog: [GENERAL][CHANGED] - Changed `react-native-codegen` to support types under `CodegenTypes` namespace
## Summary
Currently, codegen relies on deep importing types under `react-native/Libraries/Types/CodegenTypes` to be properly type-checked. Updating codegen to support types under a single namespace will enable us to provide a single import from the package with access to all relevant types.
Reviewed By: huntie
Differential Revision: D70967809
fbshipit-source-id: 41241dcc51965f4243acd34e8b63475cb56ca67a1 parent 321efa9 commit 5349b7c
File tree
128 files changed
+46030
-96
lines changed- packages
- react-native-codegen
- e2e
- deep_imports
- __test_fixtures__
- components
- modules
- __tests__
- components
- __snapshots__
- modules
- __snapshots__
- namespaced
- __test_fixtures__/components
- __tests__/components
- __snapshots__
- src/parsers
- consistency/__tests__
- flow
- components
- __test_fixtures__
- __tests__/__snapshots__
- modules
- __test_fixtures__
- __tests__/__snapshots__
- typescript
- components
- __test_fixtures__
- __tests__
- __snapshots__
- modules
- __test_fixtures__
- __tests__/__snapshots__
- react-native
- Libraries/__tests__/__snapshots__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
128 files changed
+46030
-96
lines changed
0 commit comments