A framework for building native applications using React
Bring back @flow strict to composeStyles and fix Flow errors (#51803)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51803 The `flow strict` annotation was accidently removed in D74574293. This diff brings it back and fixes flow errors caused by this change. This makes generated TS types for `composeStyles` more relaxed but the main idea of inferring inputs base on output type annotation is preserved. Changelog: [Internal] Reviewed By: huntie Differential Revision: D75945388 fbshipit-source-id: c24ff8ad5d286e16bca3522e82f02e14f660c0dd
D
Dawid Małecki committed
0de92b52ba24bd251492be215692bf81085a2da7
Parent: b338a00
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 6/4/2025, 1:56:05 PM