-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
getResolvedTypeAnnotation
to Parsers (#37373)
Summary: [Codegen 104] This PR introduces `getResolvedTypeAnnotation` to the Parser class and implements this function in Typescript and Flow Parsers. We also get rid of usages `resolveTypeAnnotation` from : - `packages/react-native-codegen/src/parsers/typescript/utils.js` - `packages/react-native-codegen/src/parsers/flow/utils.js` and replace it with `parsers.getResolvedTypeAnnotation` as requested on #34872 bypass-github-export-checks ## Changelog: [Internal] [Changed] - Add `getResolvedTypeAnnotation ` to Parsers and update usages. Pull Request resolved: #37373 Test Plan: Run yarn jest react-native-codegen and ensure CI is green Reviewed By: dmytrorykun Differential Revision: D45865651 Pulled By: cipolleschi fbshipit-source-id: fdce6e5059306ebe67121aa1b212e67de864bf84
- Loading branch information
1 parent
6d6b1fd
commit e09d585
Showing
11 changed files
with
260 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.