mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
078f6310ba
Summary: This adds the main entry point for the TypeScript parser as well as adds the logic to use the new parser if the spec file's extension is `.ts` `js/react-native-github/packages/react-native-codegen/src/parsers/typescript/index.js` is mostly a direct copy from the flow parser. Changelog: [General][Add] - Choose Flow or WIP TypeScript Codegen parser based on spec's file extension Reviewed By: RSNara Differential Revision: D33081296 fbshipit-source-id: 267823685e6723e3c1f19752bbbe692e895c075b