Skip to content

Commit

Permalink
tighten EdgeInsetsPropType flow type
Browse files Browse the repository at this point in the history
Reviewed By: yungsters

Differential Revision: D6767104

fbshipit-source-id: 40b1a4f9f41ff4beae141b636738994ccfa96d37
  • Loading branch information
sahrens authored and facebook-github-bot committed Jan 22, 2018
1 parent 4f2cc42 commit 6e7fb01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Libraries/StyleSheet/EdgeInsetsPropType.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ const EdgeInsetsPropType = (createStrictShapeTypeChecker({
right: PropTypes.number,
}): ReactPropsCheckType & ReactPropsChainableTypeChecker);

export type EdgeInsetsProp = {
top: number,
left: number,
bottom: number,
right: number,
};
export type EdgeInsetsProp = {|
+top: number,
+left: number,
+bottom: number,
+right: number,
|};

module.exports = EdgeInsetsPropType;

0 comments on commit 6e7fb01

Please sign in to comment.