Skip to content

Commit

Permalink
Making ImageURISource exact
Browse files Browse the repository at this point in the history
Reviewed By: yungsters

Differential Revision: D7984204

fbshipit-source-id: ccd2627b72da5c97f046c895652fdf7cc0b3db40
  • Loading branch information
elicwhite authored and facebook-github-bot committed May 13, 2018
1 parent 0fe7257 commit a9a612b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/Image/ImageSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

// This is to sync with ImageSourcePropTypes.js.

type ImageURISource = {
type ImageURISource = $ReadOnly<{|
uri?: string,
bundle?: string,
method?: string,
Expand All @@ -21,6 +21,6 @@ type ImageURISource = {
width?: number,
height?: number,
scale?: number,
};
|}>;

export type ImageSource = ImageURISource | number | Array<ImageURISource>;

0 comments on commit a9a612b

Please sign in to comment.