-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
fa3697b
commit 123d184
Showing
1 changed file
with
56 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters