diff --git a/Libraries/Image/ImageSource.js b/Libraries/Image/ImageSource.js index b729863234ffe3..4fdd7f270a53ce 100644 --- a/Libraries/Image/ImageSource.js +++ b/Libraries/Image/ImageSource.js @@ -11,7 +11,7 @@ // This is to sync with ImageSourcePropTypes.js. -type ImageURISource = { +type ImageURISource = $ReadOnly<{| uri?: string, bundle?: string, method?: string, @@ -21,6 +21,6 @@ type ImageURISource = { width?: number, height?: number, scale?: number, -}; +|}>; export type ImageSource = ImageURISource | number | Array;