-
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.
Summary: [Codegen 116] This PR attempts to extract the logic of `getEventArgument` function from the following locations : - `parsers/flow/components/events.js` - `parsers/typescript/components/events.js` since they are the same and move the function to `parsers/parsers-commons.js` as requested on #34872 ## Changelog: [Internal] [Changed] - Move `getEventArgument` to parser-commons and update usages. Pull Request resolved: #37133 Test Plan: Run `yarn jest react-native-codegen` and ensure CI is green Reviewed By: christophpurrer Differential Revision: D45569128 Pulled By: cipolleschi fbshipit-source-id: 63a7619e5b4fca0157c62a359ac51831f4f15945
- Loading branch information
1 parent
74987b6
commit d46f92c
Showing
3 changed files
with
23 additions
and
23 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