Files
react-native/Libraries
Tim Yung 123d184944 ImageSource: Convert ImageURISource to Interface
Summary:
Changes the `ImageURISource` Flow type into an interface.

- This enables both objects and class instances to be subtypes of `ImageURISource`.
- This makes it invalid to spread `ImageURISource` as a type, so `interface X extends ImageURISource` can instead be used.
- This makes it invalid to spread `ImageURISource` as a value, so `getImageSourceProperties(x)` can instead be used.
- This makes it invalid to use `$Exact` with `ImageURISource`.

Changelog:
[General][Changed] - `ImageURISource` Flow type is now an interface instead of an object.

Reviewed By: timrc

Differential Revision: D29323508

fbshipit-source-id: 647c2f9b0bfead6d7e56bdb7108e623cbf8b6c89
2021-06-23 13:15:02 -07:00
..
2021-05-21 14:49:51 -07:00
2021-06-21 15:19:09 -07:00
2021-06-14 02:57:37 -07:00
2021-03-22 06:46:00 -07:00
2021-04-26 22:57:55 -07:00