-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore: Extract codegen ParserError from flow and typescript into a common file #34874
chore: Extract codegen ParserError from flow and typescript into a common file #34874
Conversation
Base commit: ae3dd54 |
Base commit: ae3dd54 |
@hramos has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
I'm sorry, we are landing some changes and these introduced some conflicts. Could you rebase and fix them, please? 🙏 |
261a7bc
to
3c05118
Compare
Sure @cipolleschi, no problem |
/rebase |
3c05118
to
ffef1c5
Compare
@hramos could you reimport this? 🙏 |
@hramos has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was successfully merged by @gabrieldonadel in 7227bde. When will my fix make it into a release? | Upcoming Releases |
…mmon file (facebook#34874) Summary: This PR extracts the `ParserError` class from the `error.js` files from the flow and typescript folders into a single file in their parent folder in order to reduce the amount of duplicated code as requested on facebook#34872 ## Changelog [Internal] [Changed] - Extract codegen `ParserError` from flow and typescript folders into a common file Pull Request resolved: facebook#34874 Test Plan: Run `yarn jest react-native-codegen` and ensure CI is green  Reviewed By: cipolleschi Differential Revision: D40133301 Pulled By: cipolleschi fbshipit-source-id: 060571cf993672a9d03003e1a1a7c2aa2f381123
Summary
This PR extracts the
ParserError
class from theerror.js
files from the flow and typescript folders into a single file in their parent folder in order to reduce the amount of duplicated code as requested on #34872Changelog
[Internal] [Changed] - Extract codegen
ParserError
from flow and typescript folders into a common fileTest Plan
Run
yarn jest react-native-codegen
and ensure CI is green