mirror of
https://github.com/react/react-native.git
synced 2026-09-28 05:13:06 +08:00
Summary: X-link: https://github.com/react/metro/pull/1962 Pull Request resolved: https://github.com/react/react-native/pull/58641 This picks up https://github.com/babel/babel/pull/18241, fixing parsing of arrow function params inside ternaries with Flow (eg `cond ? async (...args) => {} : null`). (I remember hitting this one internally and not realising where it came from - IIRC it also applies to arrows within conditional types) The update brings `babel/types` 7.29.7 -> 7.29.8, requiring regeneration of generated flow types. ~~**The `xplat/js/yarn.lock` version will likely need updating to match, or the Babel types sync test will fail**~~ - I've updated specifiers to bring everyone onto that version. Changelog: [Internal] X-link: https://github.com/react/metro/pull/1958 Test Plan: CI Reviewed By: javache Differential Revision: D121188416 Pulled By: vzaidman fbshipit-source-id: 60f9c3514b5d6018825423644c47e66b3610b652