mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
114d5a8a17
Summary: These are utility functions that the TypeScript parser uses and are copied from and follows the same logic as the flow parser with some TypeScript specific changes. Also added dependency of `babel/parser` as the parsing engine we're using for TypeScript. Changelog: [General][Add] - Add foundation for WIP TypeScript parser for Codegen Reviewed By: RSNara Differential Revision: D33080527 fbshipit-source-id: d4bd515af549a41f07a2e3ee1a16b5ed678180b2