mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
08d3af994a
Summary: Annotations inside of destructuring (e.g. `const [foo: number] = ...`) are invalid Flow syntax. We currently ignore them, and in the future will error on them (D35304565). Remove them using the codemod from D35390352 Locally changed WWW_ROOT, FLOW_ROOTS, and excluded paths in scripts/typedjs/flow/runner.config.js (e.g. P492224584) - and then ``` scripts/typedjs/flow/runner codemod removeAnnotationsInDestructuring ~/fbsource/xplat/js ``` formatting files didn't work, so do it manually Changelog: [Internal] drop-conflicts Reviewed By: fred2028 Differential Revision: D35419146 fbshipit-source-id: e4c05506ceec11afcc8e92f13f732510ebabdbc3