Making ImageURISource exact
Reviewed By: yungsters Differential Revision: D7984204 fbshipit-source-id: ccd2627b72da5c97f046c895652fdf7cc0b3db40
This commit is contained in:
parent
0fe72579be
commit
a9a612bfb6
|
@ -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<ImageURISource>;
|
||||
|
|
Loading…
Reference in New Issue