mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5a20bd5b10
Summary: This PR is a subtask of https://github.com/facebook/react-native/issues/34872 Moved `translateArrayTypeAnnotation` (Flow,TS) fns to `parsers-primitives.js` - combined `Flow` and `TS` `translateArrayTypeAnnotation` fn 's into common fn - moved it to `parsers-primitives.js` - re-organized imports and exports :) ## Changelog [Internal] [Changed] - Moved `translateArrayTypeAnnotation` (Flow,TS) fns to `parsers-primitives.js` Pull Request resolved: https://github.com/facebook/react-native/pull/35479 Test Plan: - ensure 👇 is `#00ff00` `yarn lint && yarn flow && yarn test-ci` Reviewed By: cipolleschi Differential Revision: D41548046 Pulled By: GijsWeterings fbshipit-source-id: 8fd7214f8b1e669ba42f326f814674eec179fed5