Files
react-native/Libraries/StyleSheet
Nick Gerleman 1752fdc0f5 Fix type for StyleSheet.compose()
Summary:
This was flagged when typechecking the existing examples. The current type enforces that both stylesheets overlap, meaning composed stylesheets with distinct props cause a typechecking error. This changes the signature so that each style can be different, and the intersection type of the two is returned.

Changelog:
[General][Fixed] - Fix type for `StyleSheet.compose()`

Reviewed By: christophpurrer

Differential Revision: D42008355

fbshipit-source-id: 238971a61b387c09be001d5df50fe3db70df566f
2022-12-14 14:59:05 -08:00
..
2022-09-30 14:28:48 -07:00
2022-12-06 19:34:14 -08:00
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00