From a9a612bfb6c4804f7898431180bb74c3711b0254 Mon Sep 17 00:00:00 2001 From: Eli White Date: Sat, 12 May 2018 23:10:55 -0700 Subject: [PATCH] Making ImageURISource exact Reviewed By: yungsters Differential Revision: D7984204 fbshipit-source-id: ccd2627b72da5c97f046c895652fdf7cc0b3db40 --- Libraries/Image/ImageSource.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Image/ImageSource.js b/Libraries/Image/ImageSource.js index b72986323..4fdd7f270 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;