624bdc7ec6
Summary: 1. In some situation (I don't know exactly how it is triggered but I found that during porting it to `react-native-windows`), `ExportNamedDeclaration.exportKind` is missing. Just skip the checking to `exportKind` because the rest of the checking is sufficient without reading this field. 2. Add `TSParenthesizedType` to module codegen in TypeScript, so that type `(T)` is treated like `T`. ## Changelog [General] [Changed] - codegen: support TypeScript type `(T)` for turbo module codegen (module only) Pull Request resolved: https://github.com/facebook/react-native/pull/34621 Test Plan: `yarn jest` passed in `packages/react-native-codegen` Reviewed By: RSNara Differential Revision: D39322001 Pulled By: cipolleschi fbshipit-source-id: 1855711da7062a065c05a10f275e26baa88cf75f |
||
---|---|---|
.. | ||
buck_tests | ||
e2e | ||
scripts | ||
src | ||
.babelrc | ||
.prettierrc | ||
BUCK | ||
DEFS.bzl | ||
README.md | ||
package.json |