mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
44e36e6d9f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51539 Follow up to D70322032. Relocates some of our newly added Flow library definitions into the package level `flow/` directory, to help disambiguate their use. **Types directories after changes** `packages/react-native/` - `flow/` — Longstanding location for Flow package/global library definitions. Not imported by source code. - `src/types/` — Contains public typedefs useful to 3P consumers (TypeScript) (today, just `globals.d.ts` as one module). Not imported by source code. - `src/private/types/` — Source type modules **in Flow**, that **are imported** by other files in `src/private/`. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D75060846 fbshipit-source-id: 750a31e11b8f65579ce0831273df4d3b86335bdc